diff --git a/src/common/haxe/ru/m/draw/Color.hx b/src/common/haxe/ru/m/draw/Color.hx index da7ee6c..5b67b1f 100644 --- a/src/common/haxe/ru/m/draw/Color.hx +++ b/src/common/haxe/ru/m/draw/Color.hx @@ -28,7 +28,7 @@ abstract Color(Int) { } private inline function get_zero():Bool { - return this == 0; + return green == 0 && red == 0 && blue == 0; } @:from