diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c index 43d1822f1..84d5ed98f 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10839,14 +10839,15 @@ BUILDIN(addtimercount) int tick; struct map_session_data *sd; - event=script_getstr(st, 2); - tick=script_getnum(st,3); + event = script_getstr(st, 2); + tick = script_getnum(st, 3); sd = script->rid2sd(st); - if( sd == NULL ) + + if (sd == NULL) return true; script->check_event(st, event); - pc->addeventtimercount(sd,event,tick); + pc->addeventtimercount(sd, event, tick); return true; } |