mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
remove commented debug messages
This commit is contained in:
parent
5e68486233
commit
dd788342fe
@ -65,26 +65,17 @@ if (isMultiplayer) then {
|
||||
// send servers version of ACE to all clients
|
||||
GVAR(ServerVersion) = _version;
|
||||
GVAR(ServerAddons) = _addons;
|
||||
//diag_log text format ["[ACE] DEBUG: ServerVersion - %1", GVAR(ServerVersion)];
|
||||
//diag_log text format ["[ACE] DEBUG: ServerAddons - %1", GVAR(ServerAddons)];
|
||||
publicVariable QGVAR(ServerVersion);
|
||||
publicVariable QGVAR(ServerAddons);
|
||||
} else {
|
||||
// clients have to wait for the variables
|
||||
[{
|
||||
if (isNil QGVAR(ServerVersion) || isNil QGVAR(ServerAddons)) exitWith {
|
||||
//diag_log text "[ACE] DEBUG: Waiting for file info from server.";
|
||||
};
|
||||
if (isNil QGVAR(ServerVersion) || isNil QGVAR(ServerAddons)) exitWith {};
|
||||
|
||||
private ["_version","_addons"];
|
||||
_version = (_this select 0) select 0;
|
||||
_addons = (_this select 0) select 1;
|
||||
|
||||
//diag_log text format ["[ACE] DEBUG: ServerVersion - %1", GVAR(ServerVersion)];
|
||||
//diag_log text format ["[ACE] DEBUG: ServerAddons - %1", GVAR(ServerAddons)];
|
||||
//diag_log text format ["[ACE] DEBUG: ClientVersion - %1", _version];
|
||||
//diag_log text format ["[ACE] DEBUG: ClientAddons - %1", _addons];
|
||||
|
||||
if (_version != GVAR(ServerVersion)) then {
|
||||
private "_errorMsg";
|
||||
_errorMsg = format ["Client/Server Version Mismatch. Server: %1, Client: %2.", GVAR(ServerVersion), _version];
|
||||
|
Loading…
Reference in New Issue
Block a user