Added websocket support for no good reason
This commit is contained in:
@@ -92,7 +92,7 @@ public class DesktopInput extends InputHandler{
|
||||
for(int i = 1; i <= 6 && i <= control.getWeapons().size; i ++){
|
||||
if(Inputs.keyTap("weapon_" + i)){
|
||||
player.weaponLeft = player.weaponRight = control.getWeapons().get(i - 1);
|
||||
Vars.netClient.handleWeaponSwitch();
|
||||
if(Net.active()) Vars.netClient.handleWeaponSwitch();
|
||||
Vars.ui.hudfrag.updateWeapons();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user