Mercurial > hg > skillbot
changeset 16:e238f28f774a
No need to save timer
author | Dominic Cleal <dominic@computerkb.co.uk> |
---|---|
date | Sat, 06 Dec 2008 16:46:52 +0000 |
parents | 2ab5ccc01036 |
children | bef72aa85f2b |
files | skillbot.pl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/skillbot.pl Sat Dec 06 16:46:10 2008 +0000 +++ b/skillbot.pl Sat Dec 06 16:46:52 2008 +0000 @@ -438,7 +438,7 @@ # Add a timer shortly before the end to ensure the user's still training if ($prefinish > 0) { - $f->{timer} = add_one_shot_timer($prefinish, sub { + add_one_shot_timer($prefinish, sub { check_friend($self, $f); }); }