diff --git a/LuaRules/Gadgets/unit_missilewarn.lua b/LuaRules/Gadgets/unit_missilewarn.lua index be7e77b556..5a8093c140 100644 --- a/LuaRules/Gadgets/unit_missilewarn.lua +++ b/LuaRules/Gadgets/unit_missilewarn.lua @@ -33,6 +33,9 @@ function gadget:Initialize() end function gadget:ProjectileCreated(proID, proOwnerID, weaponID) + if not proOwnerID or proOwnerID == -1 then + return -- tacnuke nanoframe death is technically launching an ownerless, TTL=0 missile + end SendToUnsynced(MAGIC_FIRED, proID, proOwnerID, weaponID) end