diff --git a/source/ona/kym.zig b/source/ona/kym.zig index 83d076a..d00dd54 100644 --- a/source/ona/kym.zig +++ b/source/ona/kym.zig @@ -639,7 +639,7 @@ pub const RuntimeEnv = struct { return switch (addable.internal().payload) { .fixed => |lhs_fixed| self.new_float(@as(Float, @floatFromInt(lhs_fixed)) + rhs_float), - .float => |lhs_float| self.new_float(lhs_float + lhs_float), + .float => |lhs_float| self.new_float(lhs_float + rhs_float), .vector2 => |lhs_vector2| self.new_vector2(lhs_vector2.scalar_added(@floatCast(rhs_float))), .vector3 => |lhs_vector3| self.new_vector3(lhs_vector3.scalar_added(@floatCast(rhs_float))),