Fix compatibility issue with gosu 2.0 pre-release

This commit is contained in:
2024-03-12 19:20:25 -05:00
parent a7df9a660d
commit 9694cc2270

View File

@@ -170,10 +170,11 @@ module CyberarmEngine
end
# Add <=> method to support Range based gradients
module Gosu
class Color
def <=>(_other)
self
end
end
end
# NOTE: Disabled, causes stack overflow 🙃
# module Gosu
# class Color
# def <=>(_other)
# self
# end
# end
# end