mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix Mortar Display
This commit is contained in:
parent
21ba45d0c9
commit
f59e8920f9
@ -17,12 +17,6 @@ class Extended_PostInit_EventHandlers {
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_DisplayLoad_EventHandlers {
|
||||
class RscUnitInfo {
|
||||
ADDON = QUOTE(_this call FUNC(turretDisplayLoaded));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_FiredBIS_EventHandlers {
|
||||
class Mortar_01_base_F {
|
||||
class ADDON {
|
||||
|
@ -18,3 +18,4 @@
|
||||
if (!hasInterface) exitWith {};
|
||||
|
||||
["playerVehicleChanged", {_this call FUNC(handlePlayerVehicleChanged);}] call EFUNC(common,addEventHandler);
|
||||
["infoDisplayChanged", {_this call FUNC(turretDisplayLoaded);}] call EFUNC(common,addEventHandler);
|
||||
|
@ -18,7 +18,8 @@
|
||||
|
||||
disableSerialization;
|
||||
|
||||
PARAMS_2(_display,_rscType);
|
||||
params ["_display", "_rscType"];
|
||||
TRACE_2("params",_display,_rscType);
|
||||
|
||||
if (_rscType != "Mk6Mortar") exitWith {};
|
||||
if (isNull _display) exitWith {};
|
||||
|
Loading…
Reference in New Issue
Block a user