From d2b92db8081e5cf2d3a66d0d4bfcd2945277e817 Mon Sep 17 00:00:00 2001 From: He-Man Date: Mon, 19 Mar 2018 16:57:46 +0100 Subject: [PATCH] Allowdamage after porting --- .../compile/epoch_player/EPOCH_server_loadPlayer.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf b/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf index 9b661171..5179ec87 100644 --- a/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf +++ b/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf @@ -349,9 +349,6 @@ if (!isNull _player) then { _communityStats = (_communityStatsArray param [1,[]]) param [0,[]]; _newPlyr setVariable["COMMUNITY_STATS", _communityStats]; - // re enable damage server side - _newPlyr allowDamage true; - // Flag new body as ready for use. _newPlyr setVariable["SETUP", true, true]; @@ -365,6 +362,9 @@ if (!isNull _player) then { // revive test _newPlyr setVariable ['#rev_enabled', true, true]; // [] remoteExec ["bis_fnc_reviveInit",_player]; + + // re enable damage server side + _newPlyr allowDamage true; // new Dynamicsimulation if([configFile >> "CfgEpochServer", "playerDynamicSimulationSystem", true] call EPOCH_fnc_returnConfigEntry)then