Should fix a rare edgecase with explosions and shuttles (#51017)

This commit is contained in:
spookydonut
2020-05-28 19:36:24 +02:00
committed by GitHub
parent 6b4afdfc29
commit 3bcb6602b6
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -71,6 +71,8 @@ All ShuttleMove procs go here
/turf/proc/afterShuttleMove(turf/oldT, rotation)
//Dealing with the turf we left behind
oldT.TransferComponents(src)
SSexplosions.wipe_turf(src)
var/shuttle_boundary = baseturfs.Find(/turf/baseturf_skipover/shuttle)
if(shuttle_boundary)
oldT.ScrapeAway(baseturfs.len - shuttle_boundary + 1)