TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

can not stop without save by command !stop false #532

Open SWQXDBA opened 1 year ago

SWQXDBA commented 1 year ago

Torch Version: 1.x.xxx.xxx SE Version: 1.xxx.xxx latest version

Expected Behavior

when I run command !stop false,server should stop and don't save game. the method is

 [Command("stop", "Stops the server.")]
 public void Stop(bool save = true, int countdownSeconds = 0)

Observed Behavior

Keen will autosave when game stop. see this log:

[INFO]   Keen: Autosave in unload

I think it can have some way to prevent autosave by keen ,or remove the arg "bool save" in torch command "!stop"

Bishbash777 commented 1 year ago

Need to investigate, I will in due course.

WesternGamer commented 1 year ago

I also have the same issue.