]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
check for the lock now not require your assent
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sat, 16 Feb 2008 09:09:40 +0000 (09:09 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sat, 16 Feb 2008 09:09:40 +0000 (09:09 +0000)
web/commons.js

index 091325c47d9202cb17e43ec14c6677729070521b..6281dea30ef6456485514d0ff9f26459ee0c145e 100644 (file)
@@ -269,7 +269,7 @@ function safelogout()
 {
     var res;
     
-    if (g_exitlock < 3
+    if (g_exitlock < 2
        res = window.confirm("Sei sicuro di volere abbandonare la partita?\nATTENZIONE: se esci adesso senza il consenso degli altri giocatori non potrai sederti ai tavoli per "+(Math.floor(EXIT_BAN_TIME/60))+" minuti.");    
     else 
        res = window.confirm("Sei sicuro di volere abbandonare la partita?");