fix player.description being player[" description"] instead

This commit is contained in:
Zithia Satazaki 2023-10-29 20:50:38 -04:00
parent 4da15c42e0
commit 7c29196eff

View File

@ -95,7 +95,7 @@ LuaCallbacks LuaBindings::makePlayerCallbacks(Player* player) {
}
});
callbacks.registerCallback(" description", [player]() { return player->description(); });
callbacks.registerCallback( "description", [player]() { return player->description(); });
callbacks.registerCallback("setDescription", [player](String const& description) { player->setDescription(description); });
callbacks.registerCallback( "name", [player]() { return player->name(); });