We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0c1fe3 commit acce344Copy full SHA for acce344
1 file changed
load/dmbase.js
@@ -915,7 +915,8 @@ msg_base = {
915
return 1; // skip to next room
916
}
917
tmpPtr += inc;
918
- if ((tmpPtr >= 0) && (tmpPtr <= indices.length)) {
+ try {
919
+ if ((tmpPtr >= 0) && (tmpPtr <= indices.length)) {
920
while (this.dispMsg(mBase, indices[tmpPtr], true)
921
== null) {
922
@@ -927,7 +928,11 @@ msg_base = {
927
928
if (inc == 1) {
929
sBoard.scan_ptr = indices[tmpPtr];
930
- }
931
+ }
932
+ } catch (e) {
933
+ console.putmsg(yellow + "Uncaught exception from " +
934
+ "dispMsg(): " + e.message + "\n");
935
936
break;
937
default:
938
console.putmsg(red + "\nUnexpected value from rcChoice: "
0 commit comments