Update player_countMagazines.sqf

Variables("_item","_val","_max") get lost in other scripts, causing errors.
This commit is contained in:
F507DMT
2019-01-04 18:49:20 +06:00
committed by GitHub
parent 3bbdcb9e88
commit 3dc7db7a7a

View File

@@ -4,7 +4,7 @@
return all player magazines with ammo count
*/
private ["_dialog","_created","_magazineArray"];
private ["_dialog","_created","_magazineArray","_item","_val","_max"];
disableSerialization;
_dialog = findDisplay 106;
@@ -53,4 +53,4 @@ if ( _created ) then {
closeDialog 0;
};
_magazineArray
_magazineArray