Fixing Energy Gun Weapon Description Runtimes + Miscellaneous Weapon Description Fixes, Take 2 (#59778)

Fixes a runtime issue cause by the possibility of loaded_projectile being null by changing how projectile stats are obtained on energy weapons, and adds a separate line for energy ammo types that deal stamina damage and regular damage to incorporate both damage types
This commit is contained in:
Beatrice
2021-07-11 10:23:19 -03:00
committed by GitHub
parent 750f40b4e8
commit c36abfdb99
10 changed files with 66 additions and 32 deletions
@@ -169,6 +169,8 @@
/obj/structure/closet/proc/take_contents()
var/atom/L = drop_location()
if(!L)
return
for(var/atom/movable/AM in L)
if(AM != src && insert(AM) == LOCKER_FULL) // limit reached
break