Made game able to be reloaded

This commit is contained in:
2026-01-19 21:04:58 +00:00
parent 6c3e7ca111
commit 59596fead8
6 changed files with 321 additions and 47 deletions

View File

@@ -60,7 +60,7 @@ namespace InterfaceOff
/* Default close button closes the window */
public virtual void OnWindowCloseButtonClicked() => DestroyWindow();
protected void DestroyWindow()
public void DestroyWindow()
{
Creator.AlertOfDespawnedWindow();
Destroy(gameObject);