Skip to content

Commit

Permalink
Minor adjustment to million wrap logic
Browse files Browse the repository at this point in the history
  • Loading branch information
10yard committed Mar 18, 2022
1 parent 47012b3 commit 5d1bb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galakong/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ function galakong.startplugin()

-- Check for wrapping of score at million
score = _format("%06d", tonumber(get_score_segment(0x60b4)..get_score_segment(0x60b3)..get_score_segment(0x60b2)))
if tonumber(score) < 5000 and tonumber(score) < tonumber(last_score) then
if tonumber(score) < 8000 and tonumber(score) < tonumber(last_score) then
million_wraps = million_wraps + 1
end
last_score = score
Expand Down

0 comments on commit 5d1bb06

Please sign in to comment.