Skip to content

Commit 3bd680f

Browse files
authored
Fix setPedsLODDistance return true
1 parent a505115 commit 3bd680f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/lua/CLuaFunctionDefs.World.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ int CLuaFunctionDefs::SetPedsLODDistance(lua_State* luaVM)
15651565
{
15661566
fPedsDistance = Clamp(0.0f, fPedsDistance, 500.0f);
15671567
g_pGame->GetSettings()->SetPedsLODDistance(fPedsDistance);
1568-
lua_pushnumber(luaVM, fPedsDistance);
1568+
lua_pushboolean(luaVM, true);
15691569
return 1;
15701570
}
15711571
else

0 commit comments

Comments
 (0)