mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 16:14:53 +09:00
General Addidions to help fix a known desync
This commit is contained in:
1 parent
f316ce1cdb
commit
5e5838eb86
2 files changed
+5
-6
No files matched your search
@@ -44,7 +44,7 @@ Event.register(-1,function(event)
|
||||
if not data.high_rank or not data.low_rank
|
||||
or not data.low then self.reopen = false return end
|
||||
-- idk but this stoped working for no appent reason so i added more checks for nil values
|
||||
if Ranking.get_rank(player) and Ranking.get_rank(player).power <= Ranking.get_rank(data.low_rank).power then return end
|
||||
if Ranking.get_rank(player).power <= Ranking.get_rank(data.low_rank).power then return end
|
||||
for _,message in pairs(data.low) do
|
||||
player_return({'chat-bot.message',message},nil,player)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user