aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl/sledjchisl.c
diff options
context:
space:
mode:
authoronefang2021-08-25 23:00:51 +1000
committeronefang2021-08-25 23:00:51 +1000
commit5a039a5095085e01952dedb679243faf001a81f6 (patch)
tree78880517fbdb2a5160085e1563fdb24d73068b65 /src/sledjchisl/sledjchisl.c
parentActually use ChatTypeEnum.DebugChannel instead of hard coding it's value. (diff)
downloadopensim-SC-5a039a5095085e01952dedb679243faf001a81f6.zip
opensim-SC-5a039a5095085e01952dedb679243faf001a81f6.tar.gz
opensim-SC-5a039a5095085e01952dedb679243faf001a81f6.tar.bz2
opensim-SC-5a039a5095085e01952dedb679243faf001a81f6.tar.xz
Move "Stopping all the sims'." message to before we start stopping them.
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r--src/sledjchisl/sledjchisl.c4
1 files changed, 3 insertions, 1 deletions
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.
8614 } 8614 }
8615 else 8615 else
8616 { 8616 {
8617// TODO if stopping all the sims, I'd want to do them in reverse order.
8618 if ((STOP == currentMode) && (NULL == ourSims->target))
8619 I("Stopping all the sims.");
8617 // Do stuff with the sims. 8620 // Do stuff with the sims.
8618 ourSims->doIt = 1; 8621 ourSims->doIt = 1;
8619 forEachSim("Doing", doSimsThing, NULL); 8622 forEachSim("Doing", doSimsThing, NULL);
@@ -8622,7 +8625,6 @@ Create the /opt/opensim-SC directory structure.
8622 if ((STOP == currentMode) && (NULL == ourSims->target)) 8625 if ((STOP == currentMode) && (NULL == ourSims->target))
8623 { 8626 {
8624 // Stop all the sims. 8627 // Stop all the sims.
8625 I("Stopping all the sims.");
8626 ourSims->doIt = 1; 8628 ourSims->doIt = 1;
8627 forEachSim(NULL, stopSims, NULL); 8629 forEachSim(NULL, stopSims, NULL);
8628 8630