Fixes 4 runtimes (#12974)

* Fixes proc: /datum/money_account/proc/charge

* Fixes necropolis_chests.dm,214 proc: /obj/item/rod_of_asclepius/attack_self

* fixes: give.dm,25 proc: /mob/living/carbon/verb/give

* Fixes: game.dm,495 proc: /proc/pollCandidates
This commit is contained in:
farie82
2020-02-14 20:22:10 -05:00
committed by GitHub
parent 4756634090
commit 60d58d5b37
4 changed files with 10 additions and 6 deletions
+4 -3
View File
@@ -18,10 +18,11 @@
to_chat(usr, "<span class='notice'>That's not exactly something you can give.</span>")
return
if(target.r_hand == null || target.l_hand == null)
switch(alert(target,"[usr] wants to give you \a [I]?",,"Yes","No"))
var/ans = alert(target,"[usr] wants to give you \a [I]?",,"Yes","No")
if(!I || !target)
return
switch(ans)
if("Yes")
if(!I)
return
if(target.incapacitated() || usr.incapacitated())
return
if(!Adjacent(target))