mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
make sure dead bit is set
This commit is contained in:
parent
17f396b51b
commit
6ca00b8484
@ -86,7 +86,7 @@ if (_allowSave) then{
|
||||
// build medical array
|
||||
_medical = [getBleedingRemaining _player, 0, getOxygenRemaining _player, damage _player, _hitpoints];
|
||||
|
||||
// appearance now handled with getUnitLoadout, typeof is still need to determine players class.
|
||||
// appearance now handled with getUnitLoadout, typeof is still needed to determine players class.
|
||||
_appearance = ["", "", "", "", currentWeapon _player, typeOf _player];
|
||||
|
||||
// new save format
|
||||
@ -107,6 +107,7 @@ if (_allowSave) then{
|
||||
_bloodPressure = _vars param [_bloodPIndex,100];
|
||||
if (_bloodPressure >= 180 || _bloodPressure <= 10) then {
|
||||
_player setDamage 1;
|
||||
["PlayerStats", _playerUID, 0, 1] call EPOCH_fnc_server_hiveSETBIT;
|
||||
} else {
|
||||
// set player alive bit
|
||||
["PlayerStats", _playerUID, 0, 0] call EPOCH_fnc_server_hiveSETBIT;
|
||||
|
Loading…
Reference in New Issue
Block a user