Skip to content

Commit 2419698

Browse files
author
saml1er
authored
Merge pull request #265 from FileEX/patch-1
Fix setPedsLODDistance return true
2 parents a505115 + 3bd680f commit 2419698

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)