mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
corrected some small point
This commit is contained in:
parent
b23f9c0de2
commit
fab0eee5dd
@ -5,7 +5,7 @@ if (!hasInterface) exitWith {};
|
|||||||
|
|
||||||
["inventoryDisplayLoaded", {[ACE_player, _this select 0] call FUNC(updateInventoryDisplay)}] call EFUNC(common,addEventHandler);
|
["inventoryDisplayLoaded", {[ACE_player, _this select 0] call FUNC(updateInventoryDisplay)}] call EFUNC(common,addEventHandler);
|
||||||
["playerInventoryChanged", {
|
["playerInventoryChanged", {
|
||||||
params ["_unit"];
|
params ["_unit", "_items"];
|
||||||
[_unit, _this select 1 select 11] call FUNC(takeLoadedATWeapon);
|
[_unit, _items select 11] call FUNC(takeLoadedATWeapon);
|
||||||
[_unit] call FUNC(updateInventoryDisplay);
|
[_unit] call FUNC(updateInventoryDisplay);
|
||||||
}] call EFUNC(common,addEventHandler);
|
}] call EFUNC(common,addEventHandler);
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
|
|
||||||
disableSerialization;
|
disableSerialization;
|
||||||
params ["_player",["_display",(findDisplay 602),[(findDisplay 602)]]]
|
params ["_player", ["_display",(findDisplay 602),[(findDisplay 602)]]]
|
||||||
|
|
||||||
_player removeMagazines "ACE_PreloadedMissileDummy";
|
_player removeMagazines "ACE_PreloadedMissileDummy";
|
||||||
_player removeMagazines "ACE_FiredMissileDummy";
|
_player removeMagazines "ACE_FiredMissileDummy";
|
||||||
|
Loading…
Reference in New Issue
Block a user