Recoil mode check

Actually it just occurred to me that if you do have recoil_mode = 0 on any gun, it would go through with displaying the message that you dropped it anyway, even though you wouldn't because of the math.
This commit is contained in:
Razgriz
2020-08-10 19:18:49 -07:00
committed by GitHub
parent 6f1e27474a
commit afe34a1aff

View File

@@ -440,6 +440,7 @@
if(recoil_mode && iscarbon(user))
var/mob/living/carbon/nerd = user
var/mysize = nerd.size_multiplier
if(recoil_mode < 0)
if(mysize <= 0.5)
nerd.Weaken(1*recoil_mode)
if(!istype(src,/obj/item/weapon/gun/energy))