Fix actual export file writing (position was at the end when it's not supposed to be).

lua-bytecode
Icedream 2014-10-22 16:01:44 +02:00
parent c687de01de
commit 41375e121a
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ namespace GarrysMod.AddonCreator
using (var outfile = File.Create(path))
{
stream.Position = 0;
stream.CopyTo(outfile);
}
}