general updates, refactors

This commit is contained in:
turanszkij
2018-11-01 19:15:32 +00:00
parent 2fc027c682
commit 381f571458
67 changed files with 1301 additions and 1526 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ int SetProfilerEnabled(lua_State* L)
int argc = wiLua::SGetArgCount(L);
if (argc > 0)
{
wiProfiler::GetInstance().ENABLED = wiLua::SGetBool(L, 1);
wiProfiler::SetEnabled(wiLua::SGetBool(L, 1));
}
else
wiLua::SError(L, "SetProfilerEnabled(bool active) not enough arguments!");