Skip to content

Commit 202b22c

Browse files
committed
fallback to default settings on error
1 parent ea472b3 commit 202b22c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/main.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ pub fn main() !void {
420420
miniaudio.init(allocator);
421421
defer miniaudio.deinit();
422422

423-
settings = try .init(allocator);
423+
settings = Settings.init(allocator) catch .{};
424424
defer settings.deinit();
425425

426426
try assets.init();

0 commit comments

Comments
 (0)