Fix fire not causing burn damage (#8750)

This commit is contained in:
GhostIsSpooky 2022-03-08 19:36:26 -03:00 committed by GitHub
parent 70da38cec5
commit b800bc4ae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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