[MIRROR] replaces all instances of ammo_casing/BB to loaded_projectile again without crashing this time (#3478)

* replaces all instances of ammo_casing/BB to loaded_projectile again without crashing this time

* a

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-02-18 21:00:40 +00:00
committed by GitHub
co-authored by Kylerace Gandalf2k15
parent 9e07263fdf
commit d2c0090c83
30 changed files with 173 additions and 139 deletions
+1 -1
View File
@@ -443,7 +443,7 @@
else
A = new /obj/item/ammo_casing/caseless/gumball(src)
A.BB.color = rgb(rand(0, 255), rand(0, 255), rand(0, 255))
A.loaded_projectile.color = rgb(rand(0, 255), rand(0, 255), rand(0, 255))
playsound(src.loc, 'sound/weapons/bulletflyby3.ogg', 50, TRUE)
A.fire_casing(target, user, params, 0, 0, null, 0, src)
user.visible_message("<span class='warning'>[user] shoots a high-velocity gumball at [target]!</span>")