diff --git a/src/configman.cr b/src/configman.cr index f75c1d3..936fcd1 100644 --- a/src/configman.cr +++ b/src/configman.cr @@ -14,7 +14,7 @@ module Funfriend::ConfigMan DEFAULT_CONFIG = { "window" => { - "funfriend_size" => 64.as(ConfigValue) + "funfriend_size" => 75.as(ConfigValue) }, "sound" => { "volume" => 0.2.as(ConfigValue) diff --git a/src/vec2.cr b/src/vec2.cr index da12966..628e1ae 100644 --- a/src/vec2.cr +++ b/src/vec2.cr @@ -153,11 +153,11 @@ module Funfriend self.x != other.x || self.y != other.y end - def to_s - "(#{x}, #{y})" + def to_s(io : IO) + io << "(#{x}, #{y})" end - def inspect - "(x: #{x.inspect}, y: #{y.inspect})" + def inspect(io : IO) + io << "(x: #{x.inspect}, y: #{y.inspect})" end def self.zero