Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
refactor: remove unused server binds
Browse files Browse the repository at this point in the history
Healing items are sent in InputMsg.useItem
The action enum for them is only client side for the binds editor
  • Loading branch information
leia-uwu committed Sep 14, 2024
1 parent 40b30db commit 0f1f1bc
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions server/src/game/objects/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2470,18 +2470,6 @@ export class Player extends BaseGameObject {
case GameConfig.Input.Reload:
this.weaponManager.tryReload();
break;
case GameConfig.Input.UseBandage:
this.useHealingItem("bandage");
break;
case GameConfig.Input.UseHealthKit:
this.useHealingItem("healthkit");
break;
case GameConfig.Input.UsePainkiller:
this.useBoostItem("soda");
break;
case GameConfig.Input.UseSoda:
this.useBoostItem("painkiller");
break;
case GameConfig.Input.Cancel:
this.cancelAction();
break;
Expand Down

0 comments on commit 0f1f1bc

Please sign in to comment.