Skip to content

Commit d6fddaf

Browse files
committed
Revert "Addendum to 60ae4c3 (experimental fix)"
This reverts commit 8dbe34b.
1 parent 2d67cf9 commit d6fddaf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,7 @@ int CLuaFunctionDefs::tocolor ( lua_State* luaVM )
413413
{
414414
// Make it into an unsigned long
415415
unsigned long ulColor = COLOR_RGBA ( iRed, iGreen, iBlue, iAlpha );
416-
//lua_pushinteger ( luaVM, static_cast < lua_Integer > ( ulColor ) );
417-
lua_pushnumber ( luaVM, ulColor );
416+
lua_pushinteger ( luaVM, static_cast < lua_Integer > ( ulColor ) );
418417
return 1;
419418
}
420419

0 commit comments

Comments
 (0)