Allow players to turn in traps
This commit is contained in:
1 parent
f511e2ecb9
commit
090ba24062
1 file changed
+1
-2
+1
-2
@@ -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"
|
||||||
|
|||||||
Reference in new issue
Block a user