playerJump is only done for local player.

This commit is contained in:
stiffly
2016-03-12 17:51:06 +01:00
parent cc10e5500b
commit 8e9ddc7b9d
+1 -3
View File
@@ -44,9 +44,7 @@ bool SoundSystem::OnInputCommand(const Events::InputCommand & e)
if (e.Command == "Jump" && e.Value > 0) {
if (e.PlayerID == -1) {
playerJumps(LocalPlayer);
} else {
playerJumps(e.Player);
}
}
return true;
}
return false;