Fix losing slide mode when teleporting on a yellow teleport you just dropped
This commit is contained in:
parent
0f1afbb877
commit
c6c3ff2d71
@ -1648,6 +1648,11 @@ export class Level extends LevelInterface {
|
||||
return;
|
||||
}
|
||||
|
||||
// Explicitly set us as teleport sliding, since in some very obscure cases (auto-dropping a
|
||||
// yellow teleporter because you picked up an item with a full inventory and immediately
|
||||
// teleporting through it) it may not have been applied
|
||||
this.make_slide(actor, 'teleport');
|
||||
|
||||
let original_direction = actor.direction;
|
||||
let success = false;
|
||||
let dest, direction;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user