From d0a3b86d7b9de58a4d3ac636f25cf9c3328fa083 Mon Sep 17 00:00:00 2001 From: BlackMajor Date: Sat, 2 May 2020 04:27:39 +1200 Subject: [PATCH] Fix wormholes event flinging people into asteroids. (#11946) * Update wormholes.dm * Update code/modules/events/wormholes.dm Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com> * Update code/modules/events/wormholes.dm Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com> Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com> --- code/modules/events/wormholes.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/events/wormholes.dm b/code/modules/events/wormholes.dm index a8137acf48..1b4716b407 100644 --- a/code/modules/events/wormholes.dm +++ b/code/modules/events/wormholes.dm @@ -23,6 +23,9 @@ /datum/round_event/wormholes/start() for(var/turf/open/floor/T in world) if(is_station_level(T.z)) + var/area/A = get_area(T) + if(A.outdoors) + continue pick_turfs += T for(var/i = 1, i <= number_of_wormholes, i++)