Skip to content

Commit

Permalink
Add instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Sep 23, 2024
1 parent 3401ab2 commit cec36cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scenarios/grenadeIsland.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default async function runScenario(game: Game) {

let selectedWeapon: "grenade"|"mine" = "grenade";
const timerText = new Text({
text: `Selected Weapon: ${selectedWeapon}`,
text: `Selected Weapon (press S to switch): ${selectedWeapon}`,
style: {
fontFamily: 'Arial',
fontSize: 20,
Expand All @@ -61,7 +61,7 @@ export default async function runScenario(game: Game) {
}
console.log('Weapon switch');
selectedWeapon = selectedWeapon === "grenade" ? "mine" : "grenade";
timerText.text = `Selected Weapon: ${selectedWeapon}`;
timerText.text = `Selected Weapon (press S to switch): ${selectedWeapon}`;
});


Expand Down

0 comments on commit cec36cf

Please sign in to comment.