mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-10 11:53:21 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user