compile fixes

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2012-08-04 04:07:54 +10:00
parent 08f47799e1
commit 4a460f24f3
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ var/datum/roundinfo/roundinfo = new()
var/list/area_turfs = get_area_turfs(area)
for(var/turf/T in area_turfs)
if(T.density)
turfs -= T
area_turfs -= T
vermin_spawn_turfs.Add(area_turfs)
/datum/controller/gameticker/proc/setup()
@@ -331,7 +331,7 @@ var/datum/roundinfo/roundinfo = new()
spawning_vermin = 0
var/cur_alive_vermin = 0
//check to see if there are too many already
for(var/obj/effect/critter/roach/R in world))
for(var/obj/effect/critter/roach/R in world)
cur_alive_vermin++
for(var/mob/living/simple_animal/mouse/M in world)
if(!M.stat)
+2 -2
View File
@@ -169,13 +169,13 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
eligible_targets.Add(M)
var/mob/living/simple_animal/mouse/target_mouse
if(master_controller.game_ticker.spawn_vermin)
if(ticker.spawn_vermin)
if(eligible_targets.len)
//grab a random existing one
target_mouse = pick(eligible_targets)
else
//make a new mouse
target_mouse = new(pick(master_controller.game_ticker.vermin_spawn_turfs))
target_mouse = new(pick(ticker.vermin_spawn_turfs))
if(target_mouse)
client.mob = target_mouse