Made game able to be reloaded
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user