mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-06-29 15:51:54 +00:00
launchers_weapons_rewards 1.0.4
Undefined warning fix
This commit is contained in:
@ -141,7 +141,7 @@ SetLimits(kills_limit, time_limit)
|
||||
SetDvar("scr_" + level.gameType + "_scorelimit", kills_limit * score_multiplier);
|
||||
SetDvar("scorelimit", kills_limit * score_multiplier);
|
||||
|
||||
if (time_limit != undefined)
|
||||
if (IsDefined(time_limit))
|
||||
{
|
||||
SetDvar("scr_" + level.gameType + "_timelimit", time_limit);
|
||||
SetDvar("timelimit", time_limit);
|
||||
|
Reference in New Issue
Block a user