summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 53d29ea09..c8309a20a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1695,7 +1695,10 @@ static int clif_waitclose(int tid, unsigned int tick, int id, int data) {
*------------------------------------------
*/
void clif_setwaitclose(int fd) {
- add_timer(gettick() + 5000, clif_waitclose, fd, 0);
+ if((sd=session[fd]->session_data) == NULL
+ add_timer(gettick() + 1000, clif_waitclose, fd, 0);
+ else
+ add_timer(gettick() + 5000, clif_waitclose, fd, 0);
}
/*==========================================