Fix Grilled Cheese Sandwich teleporting player out of bounds after a death exit.
This commit is contained in:
parent
1640e77c9c
commit
8522b47e69
2 changed files with 7 additions and 2 deletions
|
|
@ -127,6 +127,11 @@ Class GrilledCheeseSandwich : Inventory
|
|||
}
|
||||
Owner.Teleport(safepos,safeangle,0);
|
||||
}
|
||||
override void Travelled()
|
||||
{
|
||||
Super.Travelled();
|
||||
dteleport = 0; // ensure we don't teleport immediately after a death exit (yes, this can happen)
|
||||
}
|
||||
override void DoEffect()
|
||||
{
|
||||
Super.DoEffect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue