Redirect violations msgs to default channel

This commit is contained in:
Eduardo Bart
2013-01-31 01:10:53 -02:00
parent 8a2d2cd5ac
commit abcc95634e
2 changed files with 8 additions and 9 deletions

View File

@@ -241,7 +241,7 @@ function checkExpSpeed()
player.lastExps = {}
end
table.insert(player.lastExps, {currentExp, currentTime})
if #player.lastExps > 10 then
if #player.lastExps > 30 then
table.remove(player.lastExps, 1)
end
end