mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 15:14:27 +01:00
fixing detaining mode (#25334)
This commit is contained in:
@@ -285,12 +285,11 @@
|
||||
back_to_hunt()
|
||||
return
|
||||
|
||||
if(no_handcuffs) // should we not cuff?
|
||||
if(!(iscarbon(target) && target.canBeHandcuffed()))
|
||||
back_to_idle()
|
||||
return
|
||||
|
||||
if(!(iscarbon(target) && target.canBeHandcuffed()))
|
||||
back_to_idle()
|
||||
if(no_handcuffs) // should we not cuff?
|
||||
return
|
||||
|
||||
if(currently_cuffing)
|
||||
|
||||
@@ -347,14 +347,14 @@
|
||||
back_to_hunt()
|
||||
return
|
||||
// target is stunned and nearby
|
||||
if(no_handcuffs) // should we not cuff?
|
||||
back_to_idle()
|
||||
return
|
||||
|
||||
if(!(iscarbon(target) && target.canBeHandcuffed()))
|
||||
back_to_idle()
|
||||
return
|
||||
|
||||
if(no_handcuffs) // should we not cuff?
|
||||
return
|
||||
|
||||
if(currently_cuffing)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user