Updated OnLogin and OnLogout methods
This commit is contained in:
parent
8177d4a310
commit
915e8006f4
@ -46,12 +46,12 @@ class ServerIdler_PlayerScript : public PlayerScript
|
||||
public:
|
||||
ServerIdler_PlayerScript() : PlayerScript("ServerIdler_PlayerScript") {}
|
||||
|
||||
void OnLogin(Player*) override
|
||||
void OnPlayerLogin(Player*) override
|
||||
{
|
||||
ApplyInterval();
|
||||
}
|
||||
|
||||
void OnLogout(Player*) override
|
||||
void OnPlayerLogout(Player*) override
|
||||
{
|
||||
ApplyInterval();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user