mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user