Skip to content

Commit

Permalink
Fix name for OnTicketCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
iThorgrim committed Jan 22, 2025
1 parent 8f50160 commit 5061ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Scripting/ScriptDefines/TicketScript.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class TicketScript : public ScriptObject
public:
[[nodiscard]] bool IsDatabaseBound() const override { return false; }

virtual void OnCreateTicket(Player* /*player*/, GmTicket* /*ticket*/) { }
virtual void OnTicketCreate(Player* /*player*/, GmTicket* /*ticket*/) { }
virtual void OnTicketUpdate(Player* /*player*/, GmTicket* /*ticket*/, std::string /*message*/) { }
virtual void OnTicketClose(Player* /*player*/, GmTicket* /*ticket*/) { }
virtual void OnTicketStatusUpdate(Player* /*player*/, GmTicket* /*ticket*/) { }
Expand Down

0 comments on commit 5061ec2

Please sign in to comment.