Skip to content

Commit

Permalink
fix versioning code issues (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 authored Feb 13, 2018
1 parent 67c54e9 commit 230cb21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/versioning/XEH_postInitServer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ publicVariable QGVAR(versions_server); // TODO: Deprecate?
// Paranoid; yet pretty annoying gamebreaking issue :-)
FUNC(paranoid) = {
diag_log [diag_frameNo, diag_tickTime, time, _this, "WARNING: Some client seems to have overriden the versions array; please report to CBA devs!"];
diag_log [GVAR(versions), GVAR(version_serv)];
if (isDedicated) then {
GVAR(versions_serv) = GVAR(versions);
diag_log [GVAR(versions), GVAR(versions_serv)];
if (isMultiplayer) then {
GVAR(versions_serv) = + GVAR(versions);
publicVariable QGVAR(versions_serv);
};
};
Expand Down

0 comments on commit 230cb21

Please sign in to comment.