Fix playing the wall bump sound repeatedly in steam mode (fixes #49)

This commit is contained in:
Eevee (Evelyn Woods) committed 2021-02-28 18:52:51 -07:00
1 parent 3bc6aa9c7d
commit fbd256c876
1 file changed
+1 -1
+1 -1
View File
@@ -1453,7 +1453,7 @@ export class Level extends LevelInterface {
}
}
if (actor.decision === null) {
if (actor.decision === null && ! forced_only) {
actor.last_blocked_direction = null;
}