OH GOD THE RUNTIMES!

fixes shuttles causing atmos runtimes that fill up our runtime logs
This commit is contained in:
MrStonedOne
2015-07-22 09:49:32 -07:00
parent 42ca7764a1
commit 0aa0bc4141
+15 -13
View File
@@ -344,18 +344,6 @@
if(!T1)
continue
//lighting stuff
T1.redraw_lighting()
SSair.remove_from_active(T1)
T1.CalculateAdjacentTurfs()
SSair.add_to_active(T1,1)
T0.redraw_lighting()
SSair.remove_from_active(T0)
T0.CalculateAdjacentTurfs()
SSair.add_to_active(T0,1)
T0.copyTurf(T1)
areaInstance.contents += T1
@@ -403,9 +391,23 @@
if(!M.buckled)
M.Weaken(3)
T0.ChangeTurf(turf_type)
if (rotation)
T1.shuttleRotate(rotation)
//lighting stuff
T1.redraw_lighting()
SSair.remove_from_active(T1)
T1.CalculateAdjacentTurfs()
SSair.add_to_active(T1,1)
T0.ChangeTurf(turf_type)
T0.redraw_lighting()
SSair.remove_from_active(T0)
T0.CalculateAdjacentTurfs()
SSair.add_to_active(T0,1)
loc = S1.loc
dir = S1.dir