Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow levelporting from ongoing deathmatch
Not entirely happy about this but I found that branchporting is already forbidden, so we'll stick with that for now. The problem with allowing escape from other sources than the portal is that it's not feasible to seal off the arena level when it happens, unless the destination happens to be the level with the arena portal. I have been thinking that maybe we could force the destination of levelport or branchport to be the arena portal level and then move the portal-sealing and item-erasure parts from domagicportal to goto_level, but this is a simple initial fix at least.
- Loading branch information
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters