From c60ea2079fb230213308904cd0966e5481d2d994 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 12 Jan 2025 16:54:37 -0500 Subject: Fix up examples --- examples/game/world.tm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/game') diff --git a/examples/game/world.tm b/examples/game/world.tm index a28fe987..0a2439c2 100644 --- a/examples/game/world.tm +++ b/examples/game/world.tm @@ -73,7 +73,7 @@ struct World(player:@Player, goal:@Box, boxes:@[@Box], dt_accum=0.0, won=no): func load_map(w:@World, map:Text): if map:has($/[]/): - map = map:replace_all({$/[]/: "#", $/@{1..}/: "@", $/ /: " "}) + map = map:replace_all({$/[]/="#", $/@{1..}/="@", $/ /=" "}) w.boxes = @[:@Box] box_size := Vec2(50., 50.) for y,line in map:lines(): -- cgit v1.2.3