turfchange

This commit is contained in:
DeityLink
2015-11-14 19:49:38 +01:00
parent c65036b099
commit 6ac4ebac4b
2 changed files with 12 additions and 0 deletions

View File

@@ -349,6 +349,9 @@
returnToPool(F.floor_tile)
F.floor_tile = null
F = null
var/atom/movable/overlay/transfer_animation = c_animation
if(ispath(N, /turf/simulated/floor))
//if the old turf had a zone, connect the new turf to it as well - Cael
//Adjusted by SkyMarshal 5/10/13 - The air master will handle the addition of the new turf.
@@ -370,6 +373,10 @@
if(air_master)
air_master.mark_for_update(src)
if(transfer_animation)
W.c_animation = transfer_animation
transfer_animation.master = W
W.levelupdate()
. = W
@@ -388,6 +395,10 @@
if(air_master)
air_master.mark_for_update(src)
if(transfer_animation)
W.c_animation = c_animation
transfer_animation.master = W
W.levelupdate()
. = W

View File

@@ -107,6 +107,7 @@
/obj/machinery/power/supermatter/shard/explode()
explosion(get_turf(src), explosion_power, explosion_power * 2, explosion_power * 3, explosion_power * 4, 1)
empulse(get_turf(src), 100, 200, 1)
qdel(src)
return