This commit is contained in:
kevinz000
2020-02-13 15:40:30 -07:00
parent c1f59512da
commit 3865224e78
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -162,6 +162,9 @@
return
if(firing)
return
if(user.getStaminaLoss >= STAMINA_SOFTCRIT) //respect stamina softcrit
to_chat(user, "<span class='warning'>You are too exhausted to fire [src]!</span>")
return
if(flag) //It's adjacent, is the user, or is on the user's person
if(target in user.contents) //can't shoot stuff inside us.
return