Move more debug lines to #ifdef (#1829)

* Move more debug lines to #ifdef

Tidys up server RPT

Also make the combination rolling text overwrite the previous build
spam.

* Make additional changes
This commit is contained in:
oiad
2016-12-26 11:20:30 +13:00
committed by ebayShopper
parent 7496ef5d5c
commit 75243933b4
7 changed files with 49 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
private ["_class","_inventory","_hitpoints","_damage","_fuel","_uid","_charID","_object","_worldspace","_key","_allowed"];
#include "\z\addons\dayz_server\compile\server_toggle_debug.hpp"
_charID = _this select 0;
_object = _this select 1;
@@ -12,7 +13,9 @@ _fuel = _this select 7;
_allowed = [_object, "Server"] call check_publishobject;
if (!_allowed) exitWith { deleteVehicle _object; };
#ifdef OBJECT_DEBUG
diag_log ("PUBLISH: Attempt " + str(_object));
#endif
//get UID
_uid = _worldspace call dayz_objectUID2;