Removing debug code.
This commit is contained in:
parent
0d80eefe4b
commit
add217f260
6 changed files with 40 additions and 8 deletions
45
.gitignore
vendored
45
.gitignore
vendored
|
|
@ -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
|
||||
|
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue