Skip to content

Commit

Permalink
Tank fixes (#16265)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon committed Jul 6, 2024
1 parent e3bb35e commit d5c5fd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/vehicles/armored/__armored.dm
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@
else
try_easy_load(I, user)
return
if(length(primary_weapon.ammo_magazine) >= primary_weapon.maximum_magazines)
if(length(weapon_to_load.ammo_magazine) >= weapon_to_load.maximum_magazines)
balloon_alert(user, "magazine already full")
return
user.temporarilyRemoveItemFromInventory(I)
Expand Down Expand Up @@ -518,7 +518,7 @@
return
if(istype(I, /obj/item/ammo_magazine))
if(!secondary_weapon)
balloon_alert(user, "no primary weapon")
balloon_alert(user, "no secondary weapon")
return
if(!(I.type in secondary_weapon.accepted_ammo))
balloon_alert(user, "not accepted ammo")
Expand Down
Binary file modified icons/obj/armored/3x4/som_ammo_rack.dmi
Binary file not shown.

0 comments on commit d5c5fd6

Please sign in to comment.