corrected some small point

This commit is contained in:
jokoho48 2015-08-09 15:28:11 +02:00
parent b23f9c0de2
commit fab0eee5dd
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ if (!hasInterface) exitWith {};
["inventoryDisplayLoaded", {[ACE_player, _this select 0] call FUNC(updateInventoryDisplay)}] call EFUNC(common,addEventHandler);
["playerInventoryChanged", {
params ["_unit"];
[_unit, _this select 1 select 11] call FUNC(takeLoadedATWeapon);
params ["_unit", "_items"];
[_unit, _items select 11] call FUNC(takeLoadedATWeapon);
[_unit] call FUNC(updateInventoryDisplay);
}] call EFUNC(common,addEventHandler);

View File

@ -16,7 +16,7 @@
#include "script_component.hpp"
disableSerialization;
params ["_player",["_display",(findDisplay 602),[(findDisplay 602)]]]
params ["_player", ["_display",(findDisplay 602),[(findDisplay 602)]]]
_player removeMagazines "ACE_PreloadedMissileDummy";
_player removeMagazines "ACE_FiredMissileDummy";