diff --git a/Game.Client/ViewRender.cs b/Game.Client/ViewRender.cs index d4b1308b..ac91cf65 100644 --- a/Game.Client/ViewRender.cs +++ b/Game.Client/ViewRender.cs @@ -1356,7 +1356,7 @@ protected void EnableWorldFog() { C_BasePlayer? pbp = C_BasePlayer.GetLocalPlayer(); - if (gGM != null && gGM.Call((int)LUA_POOLEDSTRING.SetupWorldFog)) + if (gGM != null && gGM.CallWithArgs((int)LUA_POOLEDSTRING.SetupWorldFog) && gGM.CallFinish(0)) return; if (GetFogEnable(pbp)) {