mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 23:50:29 +01:00
Removed unnecessary code pertaining to dismiss from waypoint
This commit is contained in:
parent
a833ab63d4
commit
e554039e03
1 changed files with 6 additions and 6 deletions
|
|
@ -72,16 +72,16 @@ namespace SceneManager
|
||||||
{
|
{
|
||||||
Logger.Log($"Dismissed from waypoint.");
|
Logger.Log($"Dismissed from waypoint.");
|
||||||
SkipWaypoint = true;
|
SkipWaypoint = true;
|
||||||
GameFiber.StartNew(() =>
|
//GameFiber.StartNew(() =>
|
||||||
{
|
//{
|
||||||
GameFiber.Sleep(100);
|
// GameFiber.Sleep(100);
|
||||||
SkipWaypoint = false;
|
// SkipWaypoint = false;
|
||||||
});
|
// Logger.Log($"SkipWaypoint false");
|
||||||
|
//});
|
||||||
}
|
}
|
||||||
|
|
||||||
if(dismissOption == DismissOption.FromWaypoint && CurrentWaypoint.Number == Path.Waypoints.Count || dismissOption == DismissOption.FromPath)
|
if(dismissOption == DismissOption.FromWaypoint && CurrentWaypoint.Number == Path.Waypoints.Count || dismissOption == DismissOption.FromPath)
|
||||||
{
|
{
|
||||||
Logger.Log($"Dismissed from path.");
|
|
||||||
Dismissed = true;
|
Dismissed = true;
|
||||||
GameFiber.StartNew(() =>
|
GameFiber.StartNew(() =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue