aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 02:29:14 +0100
commita37e2731825314b7607433edbcf5c5895e5dcbe5 (patch)
treec45c2243add7251bda87ab5f8d779acab8303bc7 /bin
parenta04bacb4aeb741c4d1a77238f49e1e48e31572cb (diff)
Auto-save saves to main file as well [#42]
Diffstat (limited to 'bin')
-rwxr-xr-xbin/salis.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/salis.py b/bin/salis.py
index e40e72d..0d518db 100755
--- a/bin/salis.py
+++ b/bin/salis.py
@@ -166,6 +166,9 @@ class Salis:
self.lib.sal_main_save(auto_path.encode("utf-8"))
check_call(["gzip", auto_path])
+ # Save to main file as well.
+ self.lib.sal_main_save(self.save_file_path.encode("utf-8"))
+
def exit(self):
""" Save network settings and signal we want to exit the simulator.
"""