From ffac4617f33d3a2f595276e7d393e0957d68ae06 Mon Sep 17 00:00:00 2001 From: F1F7Y <64418963+F1F7Y@users.noreply.github.com> Date: Fri, 6 Jan 2023 23:22:19 +0100 Subject: [FW]: Add missing callback for milita harvester (#561) Add missing callback --- Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fw.nut | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Northstar.Custom/mod/scripts/vscripts') diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fw.nut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fw.nut index dd2b3200..48163b97 100644 --- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fw.nut +++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_fw.nut @@ -1710,6 +1710,7 @@ void function FW_createHarvester() fw_harvesterMlt.harvester.Minimap_SetZOrder( MINIMAP_Z_OBJECT ) fw_harvesterMlt.harvester.Minimap_SetCustomState( eMinimapObject_prop_script.FD_HARVESTER ) AddEntityCallback_OnDamaged( fw_harvesterMlt.harvester, OnHarvesterDamaged ) + AddEntityCallback_OnPostDamaged( fw_harvesterMlt.harvester, OnHarvesterPostDamaged ) // mlt havester settings // don't set this, or sonar pulse will try to find it and failed to set highlight @@ -2266,4 +2267,4 @@ string function GetTeamAliveTurretCount_ReturnString( int team ) ///////////////////////////////////// ///// BatteryPort Functions End ///// -///////////////////////////////////// \ No newline at end of file +///////////////////////////////////// -- cgit v1.2.3