diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-01-12 16:54:37 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-01-12 16:54:37 -0500 |
| commit | c60ea2079fb230213308904cd0966e5481d2d994 (patch) | |
| tree | 630bcb480bfcdd2dc4aec5ecb4a2f8d1daa6475a /examples/game/world.tm | |
| parent | 645d66e0de0f201404d9ad4b210f90c139a247ff (diff) | |
Fix up examples
Diffstat (limited to 'examples/game/world.tm')
| -rw-r--r-- | examples/game/world.tm | 2 |
1 files changed, 1 insertions, 1 deletions
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(): |
