mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix fire not causing burn damage (#8750)
This commit is contained in:
parent
70da38cec5
commit
b800bc4ae1
@ -237,7 +237,7 @@ if (_isBurning) exitWith {};
|
||||
// keep pain around unconciousness limit to allow for more fun interactions
|
||||
[_unit, _intensity / MAX_INTENSITY, _woundSelection, "burn", _instigator] call EFUNC(medical,addDamageToUnit);
|
||||
} else {
|
||||
[_unit, 0.15, _woundSelection, "unknown", _instigator] call EFUNC(medical,addDamageToUnit);
|
||||
[_unit, 0.15, _woundSelection, "burn", _instigator] call EFUNC(medical,addDamageToUnit);
|
||||
};
|
||||
};
|
||||
_unit setVariable [QGVAR(intensity), _intensity, true]; // globally sync intensity across all clients to make sure simulation is deterministic
|
||||
|
Loading…
Reference in New Issue
Block a user