mirror of
https://github.com/PsychoticNinjaRepo/idlerpg-ng.git
synced 2025-04-25 12:00:59 -05:00
Top player report runs every 12 hours instead of every 10
This commit is contained in:
parent
61daa8c5b4
commit
8a7b2d7612
@ -1178,7 +1178,7 @@ sub rpcheck { # check levels, update database
|
||||
}
|
||||
# quest type 2 awards are handled in moveplayers()
|
||||
}
|
||||
if ($rpreport && $rpreport%36000==0) { # 10 hours
|
||||
if ($rpreport && $rpreport%43200==0) { # 12 hours
|
||||
my @u = sort { $rps{$b}{level} <=> $rps{$a}{level} ||
|
||||
$rps{$a}{next} <=> $rps{$b}{next} } keys(%rps);
|
||||
chanmsg("Idle RPG Top Players:") if @u;
|
||||
|
Loading…
x
Reference in New Issue
Block a user