From 804fe282ec2f8ad25dd9b4e7567f52b78a4435ab Mon Sep 17 00:00:00 2001
From: Adonis Stavridis <adonis-ioannis.stavridis@etu.unistra.fr>
Date: Sun, 29 Mar 2020 16:32:48 +0200
Subject: [PATCH] #116 jump movement hotfix

---
 server/entities/characters/player.gd | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/entities/characters/player.gd b/server/entities/characters/player.gd
index c76d6d9..ea5cbcd 100644
--- a/server/entities/characters/player.gd
+++ b/server/entities/characters/player.gd
@@ -151,6 +151,8 @@ mouseX:int, mouseY:int):
 	if (isAttacking):
 		if (is_on_floor()):
 			motion = 0
+		else:
+			motion = movementInput*0.8
 		return
 
 	motion = movementInput
-- 
GitLab