diff --git a/addons/main/script_version.hpp b/addons/main/script_version.hpp index 3e01fbb..8bb3336 100644 --- a/addons/main/script_version.hpp +++ b/addons/main/script_version.hpp @@ -1,4 +1,4 @@ #define MAJOR 1 #define MINOR 8 #define PATCH 0 -#define BUILD 13 \ No newline at end of file +#define BUILD 14 \ No newline at end of file diff --git a/addons/respawn/functions/fnc_timer.sqf b/addons/respawn/functions/fnc_timer.sqf index 560b7e5..a91e760 100644 --- a/addons/respawn/functions/fnc_timer.sqf +++ b/addons/respawn/functions/fnc_timer.sqf @@ -20,9 +20,8 @@ if (!isServer) exitWith { }; if (GVAR(forcedRespawn)) exitWith { INFO("No timer, Only forced waves"); }; private _hashWaitTime = GVAR(nextWaveTimesHash); -private _hashWaveLenght = GVAR(waveLenghtTimesHash); -private _waveLenght = _hashWaveLenght get _side; -private _time = [(_hashWaitTime get _side), cba_missiontime] select _resetTime; +private _waveLenght = GVAR(waveLenghtTimesHash) get _side; +private _time = [(_hashWaitTime get _side), cba_missiontime] select _resetTimer; _time = round (_time + _waveLenght); _hashWaitTime set [_side, _time];