Skip to content

Commit 0686229

Browse files
authored
REU_SetConnectTime: fix typo
1 parent 343f157 commit 0686229

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

reapi/src/natives/natives_reunion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ cell AMX_NATIVE_CALL REU_SetConnectTime(AMX* amx, cell* params)
112112
CHECK_ISPLAYER(arg_index);
113113

114114
int clientId = params[arg_index] - 1;
115-
116-
g_ReunionApi->SetConnectTime(clientId, arg_time);
115+
float time = CAmxArg(amx, params[arg_time]);
116+
g_ReunionApi->SetConnectTime(clientId, time);
117117

118118
return TRUE;
119119
}

0 commit comments

Comments
 (0)