Expose "server" and "dedicated" to Lua scripts
Compare changes
+ 6
− 0
@@ -326,6 +326,12 @@ int LUA_PushGlobals(lua_State *L, const char *word)
This adds isserver
and isdedicatedserver
global variables to Lua.
Both are clientside and should not be used in anything gamelogic-related.