Skip to content

Commit

Permalink
Update GameVersion.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
dpertierra authored Jan 17, 2025
1 parent 985cb5b commit 27e385a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def new_version?(new_version, current_version)
new_version_nums = new_version.split('.').map(&:to_i)

# Compare version numbers using spaceship operator
new_version_nums <=> old_version_nums == 1
(new_version_nums <=> old_version_nums) == 1
end

def validate_version(url, update=false, from_update_button=false)
Expand Down

0 comments on commit 27e385a

Please sign in to comment.