From 8f40b524368a30a59dc31bd791870a8d70a697bc Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 13 Mar 2016 21:29:53 +0100 Subject: [PATCH] TCE: Fix AI bug. --- plugins/server/TheCrawlingEater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/server/TheCrawlingEater.py b/plugins/server/TheCrawlingEater.py index e2de2e6..b7bbee5 100644 --- a/plugins/server/TheCrawlingEater.py +++ b/plugins/server/TheCrawlingEater.py @@ -820,7 +820,7 @@ def ai(t): world_db["terrain_fullness"](t["pos"]) <= 3: t["T_COMMAND"] = thing_action_id("drop") return - elif world_db["get_dir_to_target"](t, "crack"): + elif world_db["get_dir_to_target"](t, "crack")[0]: return if need[0] in {"fluid_certain", "fluid_potential"}: if standing_on_fluid(t): -- 2.30.2