Skip to content

Commit 7fc0348

Browse files
committed
IP.AF as code is optional now
1 parent eabaf46 commit 7fc0348

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

index.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ window.onload = function () {
2727
ui_font_font: "3",
2828
ui_font_customFont: "monospace",
2929
ui_font_size: 15,
30-
ui_other_codesCommaSeparated: "THE MATRIX",
31-
codes: makeCodes("THE MATRIX"),
30+
ui_other_codesCommaSeparated: "IP.AF,THE MATRIX",
31+
codes: makeCodes("IP.AF,THE MATRIX"),
3232
ui_color_colorMode: "2",
3333
ui_color_matrixColor: [0, 1, 0],
3434
matrixColor: rgbToHue([0, 1, 0]),
@@ -658,8 +658,7 @@ window.onload = function () {
658658
}
659659

660660
function makeCodes(codesText) {
661-
var codes = codesText.split(",")
662-
codes.push("IP.AF");
661+
var codes = codesText.split(",");
663662
return codes;
664663
}
665664

project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@
590590
"order" : 143,
591591
"text" : "Codes (comma separated)",
592592
"type" : "textinput",
593-
"value" : "THE MATRIX"
593+
"value" : "IP.AF,THE MATRIX"
594594
},
595595
"ui_rain_dropcount" :
596596
{

0 commit comments

Comments
 (0)