Skip to content

Commit b221db8

Browse files
author
Justus H
authored
Fix OOP_GetElementBoundingBox not always returning a value
1 parent 6b34409 commit b221db8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Client/mods/deathmatch/logic/luadefs/CLuaElementDefs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,7 @@ int CLuaElementDefs::OOP_GetElementBoundingBox(lua_State* luaVM)
10371037

10381038
// Failed
10391039
lua_pushboolean(luaVM, false);
1040+
return 1;
10401041
}
10411042

10421043
int CLuaElementDefs::GetElementBoundingBox(lua_State* luaVM)

0 commit comments

Comments
 (0)