X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=plugins%2Fserver%2FTheCrawlingEater.py;fp=plugins%2Fserver%2FTheCrawlingEater.py;h=b7bbee56d07f3632822dc66e734279454ce67ffe;hb=8f40b524368a30a59dc31bd791870a8d70a697bc;hp=e2de2e6f55d1aa8de92e6643c5cfd9e763bce629;hpb=842bb83352b0f1d62936c568df766d7502c51071;p=plomrogue 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):