Skip to content

Commit c13d561

Browse files
fix: remove saving on serve shutdown
saving should only happen on server save to avoid unnessasery double saves
1 parent 4cc345a commit c13d561

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/AutoCode.cs

-5
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ void OnServerSave()
4545
data.Save();
4646
}
4747

48-
void OnServerShutdown()
49-
{
50-
Unload();
51-
}
52-
5348
void Unload()
5449
{
5550
RemoveAllTempCodeLocks();

0 commit comments

Comments
 (0)