Skip to content
Snippets Groups Projects
Commit b9a757f4 authored by deuce's avatar deuce
Browse files

Check that the section in doors.ini is a valid xtrn code.

parent d4697d9d
No related branches found
No related tags found
No related merge requests found
......@@ -993,6 +993,10 @@ function doScan()
/* First, look for new doors */
for(door in dcfg.door) {
if(xtrn_area.prog[door]==undefined) {
log("Unknown door! "+door);
continue;
}
if(dcfg.skipSection[xtrn_area.prog[door].sec_code]!=undefined && dcfg.skipSection[xtrn_area.prog[door].sec_code])
continue;
if(dcfg.door[door].skip != undefined && dcfg.door[door].skip)
......
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