mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fixes
This commit is contained in:
@@ -2,7 +2,7 @@ private ["_started","_finished","_animState","_isMedic","_num_removed","_unit","
|
||||
if (!DZE_SelfTransfuse) exitWith {};
|
||||
_unit = player;
|
||||
_lastused = selfTransfusionTime;
|
||||
_timeout = (DZE_selfTransfuse_Values select 3);
|
||||
_timeout = (DZE_selfTransfuse_Values select 2);
|
||||
if ((round(time - _lastused)) <= _timeout) exitWith {cutText [format[(localize "str_actions_medical_18"),(_timeout - (round(time - _lastused)))] , "PLAIN DOWN"]};
|
||||
|
||||
call fnc_usec_medic_removeActions;
|
||||
|
||||
@@ -79,7 +79,7 @@ if (_spawnRoll <= _spawnChance) then {
|
||||
} else {
|
||||
_itemTypes = [] + getArray (configFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
|
||||
};
|
||||
_CBLBase = dayz_CBLBase find _lootTable;
|
||||
_CBLBase = dayz_CBLBase find (toLower(_lootTable));
|
||||
_weights = dayz_CBLChances select _CBLBase;
|
||||
_cntWeights = count _weights;
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ if (_spawnRoll <= _spawnChance) then {
|
||||
} else {
|
||||
_itemTypes = [] + getArray (configFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
|
||||
};
|
||||
_CBLBase = dayz_CBLBase find _lootTable;
|
||||
_CBLBase = dayz_CBLBase find (toLower(_lootTable));
|
||||
_weights = dayz_CBLChances select _CBLBase;
|
||||
_cntWeights = count _weights;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user