SpaceDust should now work again.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4220 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
mport2004@gmail.com
2012-07-29 16:52:42 +00:00
parent 49adc107d5
commit deca16626e

View File

@@ -61,25 +61,25 @@ The "dust" will damage the hull of the station causin minor hull breaches.
switch(startside)
if(NORTH)
starty = world.maxy-1
startx = rand(1, world.maxx-1)
endy = 1
endx = rand(1, world.maxx-1)
starty = world.maxy-8
startx = rand(8, world.maxx-8)
endy = 8
endx = rand(8, world.maxx-8)
if(EAST)
starty = rand(1,world.maxy-1)
startx = world.maxx-1
endy = rand(1, world.maxy-1)
endx = 1
starty = rand(8,world.maxy-8)
startx = world.maxx-8
endy = rand(8, world.maxy-8)
endx = 8
if(SOUTH)
starty = 1
startx = rand(1, world.maxx-1)
endy = world.maxy-1
endx = rand(1, world.maxx-1)
starty = 8
startx = rand(8, world.maxx-8)
endy = world.maxy-8
endx = rand(1, world.maxx-8)
if(WEST)
starty = rand(1, world.maxy-1)
startx = 1
endy = rand(1,world.maxy-1)
endx = world.maxx-1
starty = rand(8, world.maxy-8)
startx = 8
endy = rand(8,world.maxy-8)
endx = world.maxx-8
var/goal = locate(endx, endy, 1)
src.x = startx
src.y = starty