mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Update private array
6cf740e7d4 caused undefined variable
errors since the variables were private in 2 places. _forced and
_recorddmg should be declared private in the top of the script where
they are defined, not in the compile.
This commit is contained in:
@@ -109,7 +109,7 @@ _object_inventory = {
|
|||||||
|
|
||||||
_object_damage = {
|
_object_damage = {
|
||||||
//Allow dmg process
|
//Allow dmg process
|
||||||
private ["_hitpoints","_array","_hit","_selection","_key","_damage","_allFixed","_forced","_recorddmg"];
|
private ["_hitpoints","_array","_hit","_selection","_key","_damage","_allFixed"];
|
||||||
_hitpoints = _object call vehicle_getHitpoints;
|
_hitpoints = _object call vehicle_getHitpoints;
|
||||||
_damage = damage _object;
|
_damage = damage _object;
|
||||||
_array = [];
|
_array = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user