From 7e2cc59135c1bc0036c4a3a9c91defef274f005e Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 5 Jul 2024 23:12:45 -0500 Subject: add level completion --- render.js | 1 + 1 file changed, 1 insertion(+) (limited to 'render.js') diff --git a/render.js b/render.js index 46cc37b..6adca2c 100644 --- a/render.js +++ b/render.js @@ -11,6 +11,7 @@ export function render(ctx, level, index) { level.resources .filter(({ collected }) => collected === false) .forEach(({ pos }) => drawMark(ctx, '+', pos[0], pos[1])); + drawMark(ctx, '※', level.home[0], level.home[1]); } -- cgit v1.2.1