Skip to content

Commit

Permalink
Fix jaunts sending you to kingdom come after roundend (#4065)
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy authored Nov 4, 2024
1 parent 8304d6c commit d12e29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/effects/phased_mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
return

var/area/destination_area = get_area(eject_spot)
if(destination_area.area_flags & NOTELEPORT)
if((destination_area.area_flags & NOTELEPORT) && (SSticker.current_state < GAME_STATE_FINISHED)) // monkestation edit: allow jaunts to work after roundend
// this ONLY happens if someone uses a phasing effect
// to try to land in a NOTELEPORT zone after it is created, AKA trying to exploit.
if(isliving(jaunter))
Expand Down

0 comments on commit d12e29f

Please sign in to comment.