From 5a039a5095085e01952dedb679243faf001a81f6 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 25 Aug 2021 23:00:51 +1000 Subject: Move "Stopping all the sims'." message to before we start stopping them. --- src/sledjchisl/sledjchisl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 171acd5..2691749 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -8614,6 +8614,9 @@ Create the /opt/opensim-SC directory structure. } else { +// TODO if stopping all the sims, I'd want to do them in reverse order. + if ((STOP == currentMode) && (NULL == ourSims->target)) + I("Stopping all the sims."); // Do stuff with the sims. ourSims->doIt = 1; forEachSim("Doing", doSimsThing, NULL); @@ -8622,7 +8625,6 @@ Create the /opt/opensim-SC directory structure. if ((STOP == currentMode) && (NULL == ourSims->target)) { // Stop all the sims. - I("Stopping all the sims."); ourSims->doIt = 1; forEachSim(NULL, stopSims, NULL); -- cgit v1.1