remove commented debug messages

This commit is contained in:
commy2 2015-09-01 16:37:46 +02:00
parent 5e68486233
commit dd788342fe

View File

@ -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];