Skip to content
Snippets Groups Projects
Commit 1cf014fd authored by Eric Oulashin's avatar Eric Oulashin
Browse files

Removed temporary debug code that accidentally made it in last commit

parent d518b015
No related branches found
No related tags found
2 merge requests!463MRC mods by Codefenix (2024-10-20),!208Removed temporary debug code that accidentally made it in last commit
Pipeline #3231 passed
...@@ -905,17 +905,6 @@ function DDLightbarMenu_DrawBorder() ...@@ -905,17 +905,6 @@ function DDLightbarMenu_DrawBorder()
function DDLightbarMenu_WriteItem(pIdx, pItemLen, pHighlight, pSelected, pScreenX, pScreenY) function DDLightbarMenu_WriteItem(pIdx, pItemLen, pHighlight, pSelected, pScreenX, pScreenY)
{ {
var itemText = this.GetItemText(pIdx, pItemLen, pHighlight, pSelected); var itemText = this.GetItemText(pIdx, pItemLen, pHighlight, pSelected);
// Temporary
if (user.is_sysop)
{
var outFile = new File("/home/erico/temp/debug.txt");
if (outFile.open("a"))
{
outFile.writeln(itemText);
outFile.close();
}
}
// End Temporary
// If this.nextDrawOnlyItemSubstr is an object with start & end properties, // If this.nextDrawOnlyItemSubstr is an object with start & end properties,
// then create a string that is shortened from itemText from those start & end // then create a string that is shortened from itemText from those start & end
// indexes, and add color to it. // indexes, and add color to it.
...@@ -3145,4 +3134,4 @@ function logStackTrace(levels) { ...@@ -3145,4 +3134,4 @@ function logStackTrace(levels) {
else { else {
console.print(callstack.join("\r\n")); console.print(callstack.join("\r\n"));
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment