clear turn on close

This commit is contained in:
Elijah R 2024-02-02 09:02:15 -05:00 committed by Elijah R
parent e905593896
commit a81eb5917b

View File

@ -125,6 +125,7 @@ function closeVM() {
VM.close(); VM.close();
VM = null; VM = null;
document.title = "CollabVM"; document.title = "CollabVM";
turn = -1;
// Remove the canvas // Remove the canvas
elements.vmDisplay.innerHTML = ""; elements.vmDisplay.innerHTML = "";
// Switch to the VM list // Switch to the VM list