Fixed weapons not being reset on multiplayer connect

This commit is contained in:
Anuken
2018-01-05 19:58:57 -05:00
parent 4cdddd9408
commit 5480a92cbb
10 changed files with 15 additions and 13 deletions

View File

@@ -81,7 +81,7 @@ public class DesktopInput extends InputHandler{
for(int i = 1; i <= 6 && i <= control.getWeapons().size; i ++){
if(Inputs.keyTap("weapon_" + i)){
player.weapon = control.getWeapons().get(i - 1);
ui.weaponfrag.updateWeapons();
ui.weaponfrag.update();
}
}