mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Merge pull request #2222 from SpadesNeil/ammo-mag-pixel-offset
Ammo mags offset when spawned
This commit is contained in:
@@ -91,6 +91,8 @@
|
|||||||
|
|
||||||
/obj/item/ammo_magazine/New()
|
/obj/item/ammo_magazine/New()
|
||||||
..()
|
..()
|
||||||
|
pixel_x = rand(-5, 5)
|
||||||
|
pixel_y = rand(-5, 5)
|
||||||
if(multiple_sprites)
|
if(multiple_sprites)
|
||||||
initialize_magazine_icondata(src)
|
initialize_magazine_icondata(src)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user