Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo09 committed Dec 31, 2024
1 parent 9a707b7 commit 82f2731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lua/functions/items/item_type_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ int ItemTypeFunctions::luaItemTypeIsQuiver(lua_State* L) {

int ItemTypeFunctions::luaItemTypeIsPodium(lua_State* L) {
// itemType:isPodium()
const ItemType* itemType = getUserdata<const ItemType>(L, 1);
const auto* itemType = Lua::getUserdata<const ItemType>(L, 1);
if (itemType) {
pushBoolean(L, itemType->isPodium);
Lua::pushBoolean(L, itemType->isPodium);
} else {
lua_pushnil(L);
}
Expand Down

0 comments on commit 82f2731

Please sign in to comment.