Merge pull request #10775 from MrStonedOne/OHGODTHERUNTIMES

Fixes shuttle atmos causing 2gb runtime logs.
This commit is contained in:
Swag McYolosteinen
2015-07-22 19:24:03 +02:00
+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