mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes magazines (#30813)
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
if(istype(A, /obj/item/ammo_casing)) //loading a bullet into the magazine or box
|
||||
var/obj/item/ammo_casing/AC = A
|
||||
var/accepted = 0
|
||||
if((exact && (istype(AC, ammo_type))) || (!exact && (AC.caliber == caliber)))
|
||||
if((exact && (AC.type == text2path(ammo_type))) || (!exact && (AC.caliber == caliber)))
|
||||
accepted = 1
|
||||
else
|
||||
to_chat(user, "<span class='warning'>\the [AC] does not fit into [src]. </span>")
|
||||
|
||||
Reference in New Issue
Block a user