From e08bd750d0f2a80f943f24a54a4f5d0350e88610 Mon Sep 17 00:00:00 2001 From: icomrade Date: Mon, 25 Jul 2016 23:22:03 -0400 Subject: [PATCH] Remove DebugBox_DZ - may fix changing clothes DebugBox_DZ appears to cause issues when changing clothes. I haven't died changing clothes ~100 times since its removal. It also solves the issue of extreme exposure (brightness) after changing clothes Note: CombatTimeout variable resets after changing clothes --- SQF/dayz_server/system/server_monitor.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SQF/dayz_server/system/server_monitor.sqf b/SQF/dayz_server/system/server_monitor.sqf index 0bf595bab..0da937e2e 100644 --- a/SQF/dayz_server/system/server_monitor.sqf +++ b/SQF/dayz_server/system/server_monitor.sqf @@ -439,11 +439,13 @@ if (_hiveLoaded) then { }; [] spawn server_spawnEvents; +/* //Causes issues with changing clothes _debugMarkerPosition = getMarkerPos "respawn_west"; _debugMarkerPosition = [(_debugMarkerPosition select 0),(_debugMarkerPosition select 1),1]; _vehicle_0 = createVehicle ["DebugBox_DZ", _debugMarkerPosition, [], 0, "CAN_COLLIDE"]; _vehicle_0 setPos _debugMarkerPosition; _vehicle_0 setVariable ["ObjectID","1",true]; +*/ actualSpawnMarkerCount = 0; // count valid spawn markers, since different maps have different amounts