More while loop stuff, removed shitloads of unnecessary curly brackets in the map reader, fixed ED-209 projectiles

This commit is contained in:
SkyMarshal
2012-06-22 14:10:48 -07:00
parent 668f81c329
commit 616be6eed8
16 changed files with 133 additions and 194 deletions
+1 -1
View File
@@ -1894,7 +1894,7 @@ var/global/BSACooldown = 0
//feedback_add_details("admin_secrets_fun_used","PW")
message_admins("\blue [key_name_admin(usr)] teleported all players to the prison station.", 1)
for(var/mob/living/carbon/human/H in world)
var/turf/loc = find_loc(H)
var/turf/loc = get_turf(H)
var/security = 0
if(loc.z > 1 || prisonwarped.Find(H))
//don't warp them if they aren't ready or are already there
+4 -10
View File
@@ -165,16 +165,10 @@ var/intercom_range_display_status = 0
for(var/atom/A in world)
if(istype(A,type_path))
var/atom/B = A
while(!(isturf(B.loc)))
if(B && B.loc)
B = B.loc
else
break
if(B)
if(B.z == num_level)
count++
atom_list += A
var/turf/B = get_turf(A)
if(istype(B) && B.z == num_level)
count++
atom_list += A
/*
var/atom/temp_atom
for(var/i = 0; i <= (atom_list.len/10); i++)