Add temporary autostart flag for restart commands and autostart commandline switch (#382)
Co-authored-by: Jimmacle <mindstorms11@cox.net>
This commit is contained in:
@@ -144,9 +144,12 @@ quit";
|
||||
var gameThread = new Thread(() =>
|
||||
{
|
||||
_server.Init();
|
||||
|
||||
if (_config.Autostart)
|
||||
|
||||
if (_config.Autostart || _config.TempAutostart)
|
||||
{
|
||||
_config.TempAutostart = false;
|
||||
_server.Start();
|
||||
}
|
||||
});
|
||||
|
||||
gameThread.Start();
|
||||
|
Reference in New Issue
Block a user