diff --git a/godot.nimble b/godot.nimble index dd4f14d..3cdedab 100644 --- a/godot.nimble +++ b/godot.nimble @@ -1,4 +1,4 @@ -version = "0.7.2" +version = "0.7.3" author = "Xored Software, Inc." description = "Godot Engine bindings" license = "MIT" diff --git a/godot/core/vector2.nim b/godot/core/vector2.nim index 7cf3ee5..86c8a7e 100644 --- a/godot/core/vector2.nim +++ b/godot/core/vector2.nim @@ -83,7 +83,7 @@ proc `+`*(self, other: Vector2): Vector2 {.inline.} = getGDNativeAPI().vector2OperatorAdd(self, other) proc `+=`*(self: var Vector2, other: Vector2) {.inline.} = - self += other + self = self + other proc `-`*(self, other: Vector2): Vector2 = getGDNativeAPI().vector2OperatorSubtract(self, other)