upped the lag gratuity for breaking cuffs since apparently 40 seconds wasn't enough, if 90 doesn't work I'm just going to scrap this idea

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2769 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
quartz235@gmail.com
2011-12-22 13:17:09 +00:00
parent a3f1eb2c37
commit a694e06991
+2 -2
View File
@@ -444,8 +444,8 @@
O.show_message(text("\red <B>[] attempts to remove the handcuffs!</B>", usr), 1)
spawn(0)
if(do_after(usr, 1200))
if(!usr:handcuffed || usr:buckled || usr.moved_recently >= 40) return // time leniency for lag
for(var/mob/O in viewers(usr))
if(!usr:handcuffed || usr:buckled || usr.moved_recently >= 90) return // time leniency for lag which also might make this whole thing pointless but the server
for(var/mob/O in viewers(usr))// lags so hard that 40s isn't lenient enough - Quarxink
O.show_message(text("\red <B>[] manages to remove the handcuffs!</B>", usr), 1)
usr << "\blue You successfully remove your handcuffs."
usr:handcuffed:loc = usr:loc