add missing return statement

This commit is contained in:
Kae 2024-07-02 21:26:30 +10:00
parent 0acce4b871
commit 49f84c7a3b

View File

@ -615,7 +615,7 @@ LuaCallbacks LuaBindings::makePlayerCallbacks(Player* player) {
});
callbacks.registerCallback("removeTeleportBookmark", [player](Json const& bookmarkConfig) -> bool {
player->universeMap()->removeTeleportBookmark(TeleportBookmark::fromJson(bookmarkConfig));
return player->universeMap()->removeTeleportBookmark(TeleportBookmark::fromJson(bookmarkConfig));
});
callbacks.registerCallback("isMapped", [player](Json const& coords) {