Skip to content
Snippets Groups Projects
Commit 25122d66 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Check undefined.

Fixes #368
parent 31fda2ab
No related branches found
No related tags found
No related merge requests found
......@@ -707,6 +707,10 @@ while(bbs.online) {
handle_a_ctrlkey(x_prog);
continue;
}
if (xtrn_area.sec_list[curr_xtrnsec].prog_list[parseInt(x_prog)].number === undefined) {
console.beep();
continue;
}
stop_mouse();
clear_screen();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment