Restored uniqueIds

This commit is contained in:
Glowbal 2015-09-05 12:38:12 +02:00
parent 17648739dd
commit c673ea2cbb

View File

@ -123,5 +123,10 @@ _woundsCreated = [];
_unit setvariable [QGVAR(openWounds), _openWounds, true];
// Only update if new wounds have been created
if (count _woundsCreated > 0) then {
_unit setvariable [QGVAR(lastUniqueWoundID), _woundID, true];
};
_painLevel = _unit getvariable [QGVAR(pain), 0];
_unit setvariable [QGVAR(pain), _painLevel + _painToAdd];