Skip to content

Commit bba7580

Browse files
committed
Fixed dxGetStatus().SettingFOV being all wrong
1 parent 87085e4 commit bba7580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MTA10/mods/shared_logic/lua/CLuaFunctionDefs.Drawing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ int CLuaFunctionDefs::dxGetStatus ( lua_State* luaVM )
10261026
lua_settable ( luaVM, -3 );
10271027

10281028
lua_pushstring ( luaVM, "SettingFOV" );
1029-
lua_pushboolean( luaVM, dxStatus.settings.fFieldOfView );
1029+
lua_pushnumber ( luaVM, dxStatus.settings.fFieldOfView );
10301030
lua_settable ( luaVM, -3 );
10311031

10321032
return 1;

0 commit comments

Comments
 (0)