diff options
Diffstat (limited to 'src/sledjchisl/sledjchisl.c')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 2373ba6..96a1cd4 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -1805,6 +1805,14 @@ void stopSim(simData *simd, char *sim, char *type, int count, int window, int pa | |||
1805 | { | 1805 | { |
1806 | // Leave empty panes as is. | 1806 | // Leave empty panes as is. |
1807 | // TODO - should check if there's people there, but don't count NPCs. alert them, wait a while, or just abort the stop. | 1807 | // TODO - should check if there's people there, but don't count NPCs. alert them, wait a while, or just abort the stop. |
1808 | /* show users | ||
1809 | |||
1810 | Agents connected: 1 | ||
1811 | |||
1812 | Firstname Lastname Agent ID child/NPC/root Region Position | ||
1813 | Baby Barby 3548202e-1659-4055-b406-d578ef728fe0 NPC Naughtie Nautical <623.2795, 178.0885, 103.8343> | ||
1814 | |||
1815 | */ | ||
1808 | sendTmuxCmd(simd->paneID, "quit"); | 1816 | sendTmuxCmd(simd->paneID, "quit"); |
1809 | // There's three things that might happen - | 1817 | // There's three things that might happen - |
1810 | // Sim will quit, tmux pane will go away before we can see the shutdown message. | 1818 | // Sim will quit, tmux pane will go away before we can see the shutdown message. |
@@ -1897,7 +1905,7 @@ byTab has the short name as the key, simData as the value. | |||
1897 | waitTmuxText(simd->paneID, toybuf); | 1905 | waitTmuxText(simd->paneID, toybuf); |
1898 | I("%s is done backing up.", simd->name); | 1906 | I("%s is done backing up.", simd->name); |
1899 | // TODO - should delete / gitAR the old ones now. | 1907 | // TODO - should delete / gitAR the old ones now. |
1900 | // Have a config option for delete / gitAR. | 1908 | // Have a config option for delete / gitAR / rsync. |
1901 | ourSims->la = waitLoadAverage(ourSims->la, loadAverageInc, simTimeOut); | 1909 | ourSims->la = waitLoadAverage(ourSims->la, loadAverageInc, simTimeOut); |
1902 | } | 1910 | } |
1903 | } | 1911 | } |