Skip to content
Snippets Groups Projects
Commit dc80e82c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge branch 'dd_lightbar_menu_remove_temp_debug_code' into 'master'

Removed temporary debug code that accidentally made it in last commit

See merge request !208
parents be622038 bd5a61bd
No related branches found
No related tags found
No related merge requests found
...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment