fix: remove hosting status if it fails

This commit is contained in:
anavoi 2025-07-13 16:17:37 +02:00
commit 20ca020d02

View file

@ -80,6 +80,8 @@ Set CLI arguments: -ip, -port
catch (Exception e) catch (Exception e)
{ {
PushError("Looks like you've caught a bug! Please send your log file to us :)\n" + e); PushError("Looks like you've caught a bug! Please send your log file to us :)\n" + e);
Helper.hosting = false;
Plugin.DestroyServerComp();
} }
} }
else else