Allow players to turn in traps

This commit is contained in:
Eevee (Evelyn Woods) 2020-09-12 21:06:06 -06:00
parent f511e2ecb9
commit 090ba24062

View File

@ -386,8 +386,7 @@ export class Level {
continue; continue;
// XXX does the cooldown drop while in a trap? is this even right? // XXX does the cooldown drop while in a trap? is this even right?
// TODO should still attempt to move (so chip turns), just will be stuck (but wait, do monsters turn? i don't think so) if (actor.stuck && ! actor.type.is_player)
if (actor.stuck)
continue; continue;
// Teeth can only move the first 4 of every 8 tics, though "first" // Teeth can only move the first 4 of every 8 tics, though "first"