Simplify creature impulse chain

This commit is contained in:
2025-10-18 14:34:05 +01:00
parent ebc4b9d715
commit b43168ae33
4 changed files with 44 additions and 50 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ updateCreature' cr =
LampCrit{} -> updateLampoid cr
BarrelCrit bt -> updateBarreloid bt cr
AvatarDead -> id
ChaseCrit {} -> crUpdate cid . updateHumanoid cr
ChaseCrit {} -> crUpdate cid . updateHumanoid cr
_ -> crUpdate cid . updateHumanoid cr
where
cid = cr ^. crID