Skip to content

Commit

Permalink
fix typo variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tuntematonjr committed Sep 30, 2024
1 parent 2c84c5e commit f5407eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion addons/main/script_version.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define MAJOR 1
#define MINOR 8
#define PATCH 0
#define BUILD 13
#define BUILD 14
5 changes: 2 additions & 3 deletions addons/respawn/functions/fnc_timer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit f5407eb

Please sign in to comment.