File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
MTA10_Server/mods/deathmatch/logic/luadefs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -506,11 +506,11 @@ int CLuaDatabaseDefs::DbFree ( lua_State* luaVM )
506
506
int CLuaDatabaseDefs::DbPoll ( lua_State* luaVM )
507
507
{
508
508
// table dbPoll ( handle query, int timeout )
509
- CDbJobData* pJobData; uint uiTimeout ;
509
+ CDbJobData* pJobData; int iTimeout ;
510
510
511
511
CScriptArgReader argStream ( luaVM );
512
512
argStream.ReadUserData ( pJobData );
513
- argStream.ReadNumber ( uiTimeout );
513
+ argStream.ReadNumber ( iTimeout );
514
514
515
515
if ( !argStream.HasErrors () )
516
516
{
@@ -523,7 +523,7 @@ int CLuaDatabaseDefs::DbPoll ( lua_State* luaVM )
523
523
524
524
if ( !argStream.HasErrors () )
525
525
{
526
- if ( !g_pGame->GetDatabaseManager ()->QueryPoll ( pJobData, uiTimeout ) )
526
+ if ( !g_pGame->GetDatabaseManager ()->QueryPoll ( pJobData, iTimeout ) )
527
527
{
528
528
// Not ready yet
529
529
lua_pushnil ( luaVM );
You can’t perform that action at this time.
0 commit comments