Skip to content
Snippets Groups Projects
Commit 11c07c2d authored by rswindell's avatar rswindell
Browse files

Fix previous commit: events don't have a 'code' property.

parent bc682145
Branches
Tags
No related merge requests found
......@@ -1228,7 +1228,7 @@ function install()
for(var code in {"fidoin":0, "fidoout":0, "binkout":0, "binkpoll":0}) {
if (xtrn_area.event[code]
&& (xtrn_area.event[code].settings & EVENT_DISABLED)) {
print("Enabling timed event: " + xtrn_area.event[code].code);
print("Enabling timed event: " + code.toUpperCase());
xtrn_area.event[code].settings &= ~EVENT_DISABLED;
changed = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment