Skip to content

Commit

Permalink
Fix server-client inconsistency for isElementAttached failure return
Browse files Browse the repository at this point in the history
  • Loading branch information
qaisjp committed Apr 25, 2020
1 parent 159d291 commit 866506d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/mods/deathmatch/logic/luadefs/CLuaElementDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ int CLuaElementDefs::isElementAttached(lua_State* luaVM)
else
m_pScriptDebugging->LogCustom(luaVM, argStream.GetFullErrorMessage());

lua_pushboolean(luaVM, false);
lua_pushnil(luaVM);
return 1;
}

Expand Down

1 comment on commit 866506d

@qaisjp
Copy link
Contributor Author

@qaisjp qaisjp commented on 866506d Apr 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #585

Please sign in to comment.