1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 23:50:29 +01:00

Refactored reference names

This commit is contained in:
Rich Dunne 2020-09-05 14:06:17 -06:00
parent 2581ce666d
commit 30ff396e0d

View file

@ -42,7 +42,7 @@ namespace SceneManager
if (selectedItem == deletePath) if (selectedItem == deletePath)
{ {
PathMainMenu.DeletePath(currentPath, currentPath.PathNum - 1, PathMainMenu.Delete.Single); PathMainMenu.DeletePath(currentPath, currentPath.Number - 1, PathMainMenu.Delete.Single);
} }
} }
@ -54,12 +54,12 @@ namespace SceneManager
if (togglePath.Checked) if (togglePath.Checked)
{ {
currentPath.DisablePath(); currentPath.DisablePath();
Game.LogTrivial($"Path {currentPath.PathNum} disabled."); Game.LogTrivial($"Path {currentPath.Number} disabled.");
} }
else else
{ {
currentPath.EnablePath(); currentPath.EnablePath();
Game.LogTrivial($"Path {currentPath.PathNum} enabled."); Game.LogTrivial($"Path {currentPath.Number} enabled.");
} }
} }
} }