From: ian Date: Sun, 4 May 2008 16:03:00 +0000 (+0000) Subject: do not install persist during simulation X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=46f468696ed8f197f384f82838be17d4adb34332;p=trains.git do not install persist during simulation --- diff --git a/hostside/startup.c b/hostside/startup.c index 71a9823..1a9c680 100644 --- a/hostside/startup.c +++ b/hostside/startup.c @@ -97,7 +97,8 @@ static void sta_goto(StartupState new_state) { /* resolve_motioncheck will move us to Run eventually, we hope */ break; case Sta_Run: - persist_install(); + if (!simulate) + persist_install(); retransmit_start(); break; }