forked from Terkoiz/Freecam
Merge pull request 'Remove preloaderui "AddLog" references' (#2) from kobrakon/Freecam:master into master
Reviewed-on: Terkoiz/Freecam#2
This commit is contained in:
commit
bd52f88452
@ -89,7 +89,6 @@ namespace Terkoiz.Freecam
|
|||||||
if (_mainCamera == null)
|
if (_mainCamera == null)
|
||||||
{
|
{
|
||||||
FreecamPlugin.Logger.LogError("Failed to locate main camera");
|
FreecamPlugin.Logger.LogError("Failed to locate main camera");
|
||||||
PreloaderUI.Instance.Console.AddLog("ERROR: Failed to locate main camera", "FreeCam");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -158,7 +157,6 @@ namespace Terkoiz.Freecam
|
|||||||
if (_playerUi == null)
|
if (_playerUi == null)
|
||||||
{
|
{
|
||||||
FreecamPlugin.Logger.LogError("Failed to locate player UI");
|
FreecamPlugin.Logger.LogError("Failed to locate player UI");
|
||||||
PreloaderUI.Instance.Console.AddLog("ERROR: Failed to locate player UI", "FreeCam");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -194,7 +192,6 @@ namespace Terkoiz.Freecam
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
FreecamPlugin.Logger.LogError("Failed to get the PlayerBody field");
|
FreecamPlugin.Logger.LogError("Failed to get the PlayerBody field");
|
||||||
PreloaderUI.Instance.Console.AddLog("ERROR: Failed to get the PlayerBody field", "FreeCam");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Detour the Player.Move method into an empty one, preventing the character from moving during Freecam mode
|
// Detour the Player.Move method into an empty one, preventing the character from moving during Freecam mode
|
||||||
|
Loading…
x
Reference in New Issue
Block a user