Fixes a derp in ZAS.

This commit is contained in:
SkyMarshal
2012-06-06 01:23:20 -07:00
parent 8844a29006
commit 10ec7decb8
2 changed files with 7 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ obj/machinery/atmospherics/pipe
else return 1
proc/burst()
src.visible_message("\red \bold [src] bursts!");
src.visible_message("\red \bold \The [src] bursts!");
playsound(src.loc, 'bang.ogg', 25, 1)
var/datum/effect/effect/system/harmless_smoke_spread/smoke = new
smoke.set_up(1,0, src.loc, 0)

View File

@@ -1,6 +1,6 @@
#define QUANTIZE(variable) (round(variable,0.0001))
var/explosion_halt = 0
var/zone_share_percent = 4
var/zone_share_percent = 3.5
zone/proc/process()
//Does rebuilding stuff. Not sure if used.
if(rebuild)
@@ -27,10 +27,14 @@ zone/proc/process()
contents -= T
rebuild_turfs += T
T.zone = null
var/zone/Z
for(var/turf/T in rebuild_turfs)
if(!T.zone)
var/zone/Z = new/zone(T)
var/list/flood_fill = FloodFill(T)
Z = new /zone(T)
Z.air.copy_from(air)
for(var/turf/NT in flood_fill)
Z.AddTurf(NT)
rebuild = 0