Skip to content

Commit

Permalink
refactor(scenes): add missing type in load
Browse files Browse the repository at this point in the history
remarkablemark committed Feb 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 023566a commit 0fade85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenes/load.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { Scene, Sound, Sprite } from '../constants';
import { loadSounds } from '../helpers';
import { levels } from '../levels';

scene(Scene.load, async (levelId) => {
scene(Scene.load, async (levelId: string) => {
add([text('Loading...'), anchor('center'), pos(center()), color(0, 0, 0)]);

const level = levels[levelId];

0 comments on commit 0fade85

Please sign in to comment.