mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-15 04:32:35 +00:00
Fix compatibility issue with gosu 2.0 pre-release
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user