Do away with old last_special checks (#17357)

This commit is contained in:
Luc
2022-01-27 20:33:25 +01:00
committed by GitHub
parent 3feb5493e8
commit e9988df9fb
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -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
+2 -2
View File
@@ -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.
/*////////////////////