mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Do away with old last_special checks (#17357)
This commit is contained in:
@@ -656,8 +656,7 @@ so as to remain in compliance with the most up-to-date laws."
|
||||
if(!istype(L) || !L.can_resist())
|
||||
return
|
||||
L.changeNext_move(CLICK_CD_RESIST)
|
||||
if(L.last_special <= world.time)
|
||||
return L.resist_buckle()
|
||||
return L.resist_buckle()
|
||||
|
||||
// PRIVATE = only edit, use, or override these if you're editing the system as a whole
|
||||
|
||||
|
||||
@@ -663,7 +663,7 @@
|
||||
return
|
||||
|
||||
//unbuckling yourself
|
||||
if(buckled && last_special <= world.time)
|
||||
if(buckled)
|
||||
resist_buckle()
|
||||
|
||||
//Breaking out of a container (Locker, sleeper, cryo...)
|
||||
@@ -674,7 +674,7 @@
|
||||
else if(canmove)
|
||||
if(on_fire)
|
||||
resist_fire() //stop, drop, and roll
|
||||
else if(last_special <= world.time)
|
||||
else
|
||||
resist_restraints() //trying to remove cuffs.
|
||||
|
||||
/*////////////////////
|
||||
|
||||
Reference in New Issue
Block a user