Remove IndexOutOfBounds

master
Louis Pearson 2022-04-23 12:43:18 -06:00
parent 569a0f22f8
commit 77c92ff0aa
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ export fn update() void {
.Game => game.update(time) catch |e| switch (e) {
error.Overflow => showErr(@errorName(e)),
error.OutOfBounds => showErr(@errorName(e)),
error.IndexOutOfBounds => showErr(@errorName(e)),
// error.IndexOutOfBounds => showErr(@errorName(e)),
},
};
if (state != newState) {
@ -40,7 +40,7 @@ export fn update() void {
.Game => game.start() catch |e| switch (e) {
error.Overflow => showErr(@errorName(e)),
error.OutOfBounds => showErr(@errorName(e)),
error.IndexOutOfBounds => showErr(@errorName(e)),
// error.IndexOutOfBounds => showErr(@errorName(e)),
},
}
}