diff options
author | onefang | 2021-08-25 23:00:51 +1000 |
---|---|---|
committer | onefang | 2021-08-25 23:00:51 +1000 |
commit | 5a039a5095085e01952dedb679243faf001a81f6 (patch) | |
tree | 78880517fbdb2a5160085e1563fdb24d73068b65 /src/sledjchisl/sledjchisl.c | |
parent | Actually use ChatTypeEnum.DebugChannel instead of hard coding it's value. (diff) | |
download | opensim-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.c | 4 |
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 | ||