Skip to content

Commit 49a4090

Browse files
committed
Remove quicksave save buttons
Closes #26
1 parent 217434a commit 49a4090

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Assets.Scripts.UI.SaveLoad/SaveLoadQSave.cs

+5
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,18 @@ public void EnableEntry(SaveEntry entry)
2020
SaveButton.isEnabled = false;
2121
LoadButton.isEnabled = true;
2222
BottomLabel.text = entry.Time.ToString("MMM dd, yyyy h:mm tt");
23+
// Save button is never useful so hide it
24+
SaveButton.gameObject.SetActive(false);
2325
}
2426

2527
private void DisableButton()
2628
{
29+
2730
SaveButton.isEnabled = false;
2831
LoadButton.isEnabled = false;
2932
BottomLabel.text = string.Empty;
33+
// Save button is never useful so hide it
34+
SaveButton.gameObject.SetActive(false);
3035
}
3136

3237
public void LoadSlot(int slotnum)

0 commit comments

Comments
 (0)