ID:142671
 
Code:
mob
verb
Start_Game()
var/turf/T
for(T as turf in world)
if(prob(50))
var/obj/H=new/obj/hole
H.loc = T.loc


Problem description: Whenever I use the Start Game verb, it only affects the tile at locate(1,1,1), and for some reason always makes it a hole. I've had little experience with for list loops before, so can you guys help me?

                    H.loc = T.loc


T.loc is an area. You want H.loc = T
In response to Garthor
Garthor delivers again. Thanks :D