Remove IndexOutOfBounds
parent
569a0f22f8
commit
77c92ff0aa
|
@ -30,7 +30,7 @@ export fn update() void {
|
||||||
.Game => game.update(time) catch |e| switch (e) {
|
.Game => game.update(time) catch |e| switch (e) {
|
||||||
error.Overflow => showErr(@errorName(e)),
|
error.Overflow => showErr(@errorName(e)),
|
||||||
error.OutOfBounds => showErr(@errorName(e)),
|
error.OutOfBounds => showErr(@errorName(e)),
|
||||||
error.IndexOutOfBounds => showErr(@errorName(e)),
|
// error.IndexOutOfBounds => showErr(@errorName(e)),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
if (state != newState) {
|
if (state != newState) {
|
||||||
|
@ -40,7 +40,7 @@ export fn update() void {
|
||||||
.Game => game.start() catch |e| switch (e) {
|
.Game => game.start() catch |e| switch (e) {
|
||||||
error.Overflow => showErr(@errorName(e)),
|
error.Overflow => showErr(@errorName(e)),
|
||||||
error.OutOfBounds => showErr(@errorName(e)),
|
error.OutOfBounds => showErr(@errorName(e)),
|
||||||
error.IndexOutOfBounds => showErr(@errorName(e)),
|
// error.IndexOutOfBounds => showErr(@errorName(e)),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue