Skip to content

Commit 6dab562

Browse files
Merge pull request #5309 from Sypsoti/randomspawner_fix
fixes random spawner
2 parents 3189278 + 23c21fe commit 6dab562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/game/objects/random/random.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
if(!type_to_spawn)
2828
return
2929

30-
for(var/atom/A as anything in create_instance(type_to_spawn))
30+
for(var/atom/A as anything in create_instance(type_to_spawn, loc))
3131
if(pixel_x || pixel_y)
3232
A.default_pixel_x = pixel_x
3333
A.default_pixel_y = pixel_y

0 commit comments

Comments
 (0)