Anarchid / zkgbai

Zero-K Graph-Based AI
GNU General Public License v2.0
7 stars 3 forks source link

Endgame crash #15

Closed DeinFreund closed 5 years ago

DeinFreund commented 7 years ago

[f=0068025] <SkirmishAI: ZKGBAI (team 5)>: exception(java.lang.NullPointerException at zkgbai.kgbutil.Pathfinder.findPath(Pathfinder.java:96) at zkgbai.military.fighterhandlers.RetreatHandler.retreatCowards(RetreatHandler.java:117) at zkgbai.military.fighterhandlers.RetreatHandler.update(RetreatHandler.java:76) at zkgbai.military.MilitaryManager.update(MilitaryManager.java:1233) at zkgbai.ZKGraphBasedAI.update(ZKGraphBasedAI.java:250) ) java.lang.NullPointerException

aeonios commented 5 years ago

This is such a screwy issue that I'm not sure that a direct fix will actually do much, but I committed anyway. It's honestly probably an engine issue, but whatever.