Skip to content

Commit ceacc74

Browse files
committed
missionName reconstructor orderfix
1 parent b944035 commit ceacc74

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

addons/main/GELDZEIT/fn_serverInit.sqf

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@
2626

2727
#define LOGGING_VERSION 9
2828

29+
// Missionsnamen-Rekonstruktor (Symlink opt_latest -> opt_v123)
30+
GVAR(missionName) = missionName;
31+
if (GVAR(missionName) isEqualTo "opt_latest") then
32+
{
33+
GVAR(missionName) = "opt_v" + getMissionConfigValue "onLoadMission";
34+
};
35+
2936
private _time = systemTime;
3037
["Logging", "Start", [LOGGING_VERSION, OPT_GELDZEIT_Fraktionauswahl, format ["%1-%2-%3 %4:%5:%6", _time select 0, _time select 1, _time select 2, _time select 3, _time select 4, _time select 5]]] call OPT_LOGGING_fnc_writelog;
3138
["Mission", "Load", [0, 0, 0, GVAR(missionName)]] call OPT_LOGGING_fnc_writelog;
@@ -35,14 +42,6 @@ publicVariable QGVAR(GAMESTAGE);
3542

3643
GVAR(playerList) = [];
3744

38-
39-
// Missionsnamen-Rekonstruktor (Symlink opt_latest -> opt_v123)
40-
GVAR(missionName) = missionName;
41-
if (GVAR(missionName) isEqualTo "opt_latest") then
42-
{
43-
GVAR(missionName) = "opt_v" + getMissionConfigValue "onLoadMission";
44-
};
45-
4645
["missionStarted",
4746
{
4847
GVAR(startTime) = serverTime;

addons/main/script_version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define MAJOR 1
33
#define MINOR 9
44
#define PATCHLVL 2
5-
#define BUILD 57
5+
#define BUILD 58
66

77

88
#ifdef VERSION

0 commit comments

Comments
 (0)