From de49bc5bb3198f450cb367085f9def0d89782258 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 16 Sep 2024 16:06:19 -0400 Subject: Deprecate :or_else()/:or_fail()/:or_exit() in favor of the `or` operator --- examples/game/game.tm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/game') diff --git a/examples/game/game.tm b/examples/game/game.tm index 8c5124d0..c7d843e3 100644 --- a/examples/game/game.tm +++ b/examples/game/game.tm @@ -9,7 +9,7 @@ func main(map=(./map.txt)): extern InitWindow:func(w:Int32, h:Int32, title:CString)->Void InitWindow(1600, 900, "raylib [core] example - 2d camera") - map_contents := map:read():or_exit("Could not find the game map: $map") + map_contents := map:read() or exit("Could not find the game map: $map") World.CURRENT:load_map(map_contents) -- cgit v1.2.3