(3dc4135ce) v0.9.5.1

This commit is contained in:
Regalis
2019-11-21 18:22:25 +01:00
parent b39922a074
commit 5c95c53118
287 changed files with 12655 additions and 5048 deletions
@@ -31,10 +31,12 @@ namespace Barotrauma
static void Main(string[] args)
{
GameMain game = null;
string executableDir = "";
#if !DEBUG
try
{
#endif
executableDir = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
SteamManager.Initialize();
game = new GameMain(args);
game.Run();
@@ -45,7 +47,7 @@ namespace Barotrauma
{
try
{
CrashDump(game, "crashreport.log", e);
CrashDump(game, Path.Combine(executableDir,"crashreport.log"), e);
}
catch (Exception e2)
{