mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
[FIX] AI can no longer toggle floorbolts while dead (#27191)
* AI can no longer toggle floorbolts while dead. * Added a to_chat * Switch to the check_unable proc. * No need for the double to_chat * Actually nevermind --------- Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
@@ -641,6 +641,10 @@ GLOBAL_LIST_INIT(ai_verbs_default, list(
|
||||
set category = "AI Commands"
|
||||
set name = "Toggle Floor Bolts"
|
||||
|
||||
if(stat == DEAD)
|
||||
to_chat(src, "<span class='warning'>You are dead!</span>")
|
||||
return
|
||||
|
||||
if(!isturf(loc)) // if their location isn't a turf
|
||||
return // stop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user