This commit is contained in:
high 2011-06-14 18:23:54 -04:00
parent 43beb99cb7
commit 7c56524a0d

View file

@ -353,7 +353,7 @@ namespace TShockAPI
public static void ShowFileToUser(int ply, string file)
{
string foo = "";
TextReader tr = new StreamReader(Path.Combine(TShock.SavePath + file));
TextReader tr = new StreamReader(Path.Combine(TShock.SavePath, file));
while ((foo = tr.ReadLine()) != null)
{
foo = foo.Replace("%map%", Main.worldName);