Reload SHVDN on disconnect if there're client resources

This commit is contained in:
Sardelka
2022-07-09 13:16:41 +08:00
parent 615c49e395
commit fbec69cd71
6 changed files with 47 additions and 5 deletions

View File

@ -104,6 +104,10 @@ namespace RageCoop.Client.Scripting
public void Unload()
{
StopAll();
if (LoadedResources.Count > 0)
{
Util.Reload();
}
LoadedResources.Clear();
}
private List<string> ToIgnore = new List<string>