ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
691 stars 208 forks source link

OKP: "unit tried to attack itself" #5332

Open sprunk opened 3 months ago

sprunk commented 3 months ago
[t=03:08:45.976181][f=0066677] Error: [LuaUnitScript::RawRunCallIn][LuaRules::BlockShot] error=1 trace=[Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_overkill_prevention.lua"]:302: [SetUnitTarget()]: unit tried to attack itself
[t=03:08:46.571273][f=0066689] [Game::ClientReadNet][LOGMSG] sender="Helwor" string="[Internal Lua error: Call failure] [string "LuaRules/Gadgets/unit_overkill_prevention.lua"]:302: [SetUnitTarget()]: unit tried to attack itself"

Reported by @Helwor

sprunk commented 3 months ago

"when sending 300 magpies onto enemy base with amove"