diff options
Diffstat (limited to 'examples/game')
| -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(): |
