mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-16 21:22:33 +00:00
Fix compatibility issue with gosu 2.0 pre-release
This commit is contained in:
@@ -170,10 +170,11 @@ module CyberarmEngine
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Add <=> method to support Range based gradients
|
# Add <=> method to support Range based gradients
|
||||||
module Gosu
|
# NOTE: Disabled, causes stack overflow 🙃
|
||||||
class Color
|
# module Gosu
|
||||||
def <=>(_other)
|
# class Color
|
||||||
self
|
# def <=>(_other)
|
||||||
end
|
# self
|
||||||
end
|
# end
|
||||||
end
|
# end
|
||||||
|
# end
|
||||||
|
|||||||
Reference in New Issue
Block a user