mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 11:35:08 -04:00
Remove leftover debugging code.
This commit is contained in:
parent
c5b2ff1efe
commit
663f6f2a8c
@ -396,7 +396,7 @@ namespace ClassicalSharp {
|
|||||||
|
|
||||||
if( Utils.IsUrlPrefix( url, 0 ) ) {
|
if( Utils.IsUrlPrefix( url, 0 ) ) {
|
||||||
game.ShowWarning( new WarningScreen(
|
game.ShowWarning( new WarningScreen(
|
||||||
game, text, false, "Are you sure you want to go to this url?",
|
game, url, false, "Are you sure you want to go to this url?",
|
||||||
OpenUrl, AppendUrl, null, url,
|
OpenUrl, AppendUrl, null, url,
|
||||||
"Be careful - urls from strangers may link to websites that",
|
"Be careful - urls from strangers may link to websites that",
|
||||||
" may have viruses, or things you may not want to open/see."
|
" may have viruses, or things you may not want to open/see."
|
||||||
|
@ -106,7 +106,6 @@ namespace ClassicalSharp {
|
|||||||
void UpdatePreviousUrls( int i, string url ) {
|
void UpdatePreviousUrls( int i, string url ) {
|
||||||
while( i >= 0 && linkData[i].urls != null && (linkData[i].flags & LinkFlags.Continue) != 0 ) {
|
while( i >= 0 && linkData[i].urls != null && (linkData[i].flags & LinkFlags.Continue) != 0 ) {
|
||||||
linkData[i].LastUrl = url;
|
linkData[i].LastUrl = url;
|
||||||
Console.WriteLine( "SET: " + lines[i] + "," + linkData[i].flags + "____" + url );
|
|
||||||
if( linkData[i].urls.Length > 2 || (linkData[i].flags & LinkFlags.NewLink) != 0 )
|
if( linkData[i].urls.Length > 2 || (linkData[i].flags & LinkFlags.NewLink) != 0 )
|
||||||
break;
|
break;
|
||||||
i--;
|
i--;
|
||||||
@ -134,7 +133,6 @@ namespace ClassicalSharp {
|
|||||||
prevFlags |= LinkFlags.Append;
|
prevFlags |= LinkFlags.Append;
|
||||||
else
|
else
|
||||||
prevFlags |= LinkFlags.NewLink;
|
prevFlags |= LinkFlags.NewLink;
|
||||||
Console.WriteLine( "FLAGS FOR " + prevFlags + "___" + line );
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user