summaryrefslogtreecommitdiff
path: root/player.go
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2024-04-21 19:34:12 +0100
committerdavidovski <david@davidovski.xyz>2024-04-21 19:34:12 +0100
commit64757d18c4b2669c46f2dc88293cf2f0ea1887db (patch)
tree865a8fe4fb25180583ebf93fca40073c3d48822e /player.go
parent1f1c464f84a169ea5146d360ae6b1211d8a7074f (diff)
Add reversing
Diffstat (limited to 'player.go')
-rw-r--r--player.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/player.go b/player.go
index 0b313ed..4fe7aa8 100644
--- a/player.go
+++ b/player.go
@@ -36,7 +36,6 @@ func (o * GameObject) Update(tilemap Tilemap) {
o.onGround = true;
o.vx *= friction
-
o.y -= o.vy
o.vy = 0
} else {