summaryrefslogtreecommitdiff
path: root/render.js
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2024-07-05 23:12:45 -0500
committersanine <sanine.not@pm.me>2024-07-05 23:12:45 -0500
commit7e2cc59135c1bc0036c4a3a9c91defef274f005e (patch)
tree620f9e6f7217c5ac262377900874ae57aa1e7530 /render.js
parentad5e699c810e448dc24d06dec201b7867b9f5e06 (diff)
add level completion
Diffstat (limited to 'render.js')
-rw-r--r--render.js1
1 files changed, 1 insertions, 0 deletions
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]);
}