Fixes fultons being able to send you into a nullspace like state (#20022)

* fixes fultons sending you into a pseudo nullspace

* Update code/modules/mining/fulton.dm

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>

Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
GDN
2023-01-03 01:20:43 -05:00
committed by GitHub
co-authored by Sirryan2002
parent b239699493
commit fdb1bc1766
+3
View File
@@ -118,6 +118,9 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
if(floor.density)
continue
flooring_near_beacon += floor
if(!length(flooring_near_beacon))
to_chat(user, "<span class='notice'>Your fulton pack slowly brings you back down, it seems that the linked beacon has stopped functioning!</span>")
flooring_near_beacon = get_turf(user)
holder_obj.forceMove(pick(flooring_near_beacon))
animate(holder_obj, pixel_z = 10, time = 50)
sleep(50)