Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lorgan3 committed Jun 12, 2024
1 parent 90b39ed commit 0a4f9cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Game.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const { selectedMap, settings: gameSettings } = defineProps<{
const canvas = ref<HTMLDivElement | null>(null);
const inventoryOpen = ref(false);
const menuOpen = ref(false);
const controller = ref<KeyboardController>();
const controller = ref<Controller>();
const router = useRouter();
const route = useRoute();
const settings = defaults(get("Settings"));
Expand Down
1 change: 0 additions & 1 deletion src/data/network/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ export abstract class Manager {
players: this.players,
activePlayer: this.activePlayer,
mana: this._self?.mana || 0,
following: !Level.instance.cameraTarget.isAttached,
};
}

Expand Down
2 changes: 1 addition & 1 deletion src/data/network/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class Player {
private _team = Team.empty();
private _color = "";
private _controller: Controller = new NetworkController();
private _mana = 500;
private _mana = 0;
private turn = 0;

public selectedSpell: Spell | null = null;
Expand Down

0 comments on commit 0a4f9cb

Please sign in to comment.