Removing debug code.

This commit is contained in:
Shank 2011-05-28 22:34:45 -06:00
parent 0d80eefe4b
commit add217f260
6 changed files with 40 additions and 8 deletions

45
.gitignore vendored
View file

@ -1,5 +1,40 @@
/bin/*
/Content/*
/Fonts/*
/Images/*
/Sounds/*
./bin/*
./Content/*
./Fonts/*
./Images/*
./Sounds/*
./obj/*
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store?
ehthumbs.db
Icon?
Thumbs.db

View file

@ -49,9 +49,6 @@ namespace Terraria
string updateVersion = client.DownloadString("http://shankshock.com/tshock.txt");
string[] changes = updateVersion.Split(',');
float[] color = { 255, 255, 000 };
Console.WriteLine(changes.Length);
Console.WriteLine(changes[0]);
Console.WriteLine(changes[1]);
if (Convert.ToDouble(changes[0]) > version)
{
sendMessage(ply, "This server is out of date. Version " + changes[0] + " is out.", color);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.