Skip to content

Commit

Permalink
Merge pull request #217 from Slivo-fr/patch-4
Browse files Browse the repository at this point in the history
Makes player with 0 honor (but 15hk) valid
  • Loading branch information
kakysha authored Apr 19, 2022
2 parents 93ca5c1 + 5515c05 commit c487b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honorspy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ end
local function playerIsValid(player)
if (not player.last_checked or type(player.last_checked) ~= "number" or player.last_checked < HonorSpy.db.char.last_reset
or player.last_checked > GetServerTime()
or not player.thisWeekHonor or type(player.thisWeekHonor) ~= "number" or player.thisWeekHonor == 0
or not player.thisWeekHonor or type(player.thisWeekHonor) ~= "number" or player.thisWeekHonor < 0
or not player.lastWeekHonor or type(player.lastWeekHonor) ~= "number"
or not player.standing or type(player.standing) ~= "number"
or not player.RP or type(player.RP) ~= "number"
Expand Down

0 comments on commit c487b98

Please sign in to comment.