Make every obj/.../New() call it's parents

This commit is contained in:
joep van der velden
2020-01-29 10:43:32 +01:00
parent 076ef673cd
commit fd913498bf
39 changed files with 77 additions and 32 deletions
+1
View File
@@ -102,6 +102,7 @@
var/list/initial_mats //For calculating refund values.
/obj/item/ammo_box/New()
..()
for(var/i in 1 to max_ammo)
stored_ammo += new ammo_type(src)
update_icon()
@@ -157,6 +157,8 @@
multiload = 0
/obj/item/ammo_box/magazine/internal/rus357/New()
..()
stored_ammo.Cut() // We only want 1 bullet in there
stored_ammo += new ammo_type(src)
/obj/item/ammo_box/magazine/internal/boltaction