[Server] Fix typo related to player deletion

sol2-server-rewrite
David Cernat 7 years ago
parent 4e9cac96c7
commit 3b865244d0

@ -107,7 +107,7 @@ void Player::Init(LuaState &lua)
"storedData", &Player::storedData, "storedData", &Player::storedData,
"customData", &Player::customData, "customData", &Player::customData,
"markedForDeletion", sol::property(&Player::isMarkedForDeleteion) "markedForDeletion", sol::property(&Player::isMarkedForDeletion)
); );
lua.getState()->new_enum("ChannelAction", lua.getState()->new_enum("ChannelAction",
@ -957,7 +957,7 @@ void Player::setAuthority()
} }
} }
bool Player::isMarkedForDeleteion() const bool Player::isMarkedForDeletion() const
{ {
return markedForDeletion; return markedForDeletion;
} }

@ -205,7 +205,7 @@ public:
void setAuthority(); void setAuthority();
bool isMarkedForDeleteion() const; bool isMarkedForDeletion() const;
void addToUpdateQueue(); void addToUpdateQueue();

Loading…
Cancel
Save