mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
No proxies for cloaked stuff
This commit is contained in:
parent
e6b2a6223a
commit
34f87fbe12
@ -427,10 +427,13 @@ namespace NewHorizons.Handlers
|
||||
|
||||
AstroObjectLocator.RegisterCustomAstroObject(ao);
|
||||
|
||||
Main.Instance.ModHelper.Events.Unity.FireOnNextUpdate(() =>
|
||||
if (!(body.Config.Cloak != null && body.Config.Cloak.radius != 0f))
|
||||
{
|
||||
ProxyBuilder.Make(go, body);
|
||||
});
|
||||
Main.Instance.ModHelper.Events.Unity.FireOnNextUpdate(() =>
|
||||
{
|
||||
ProxyBuilder.Make(go, body);
|
||||
});
|
||||
}
|
||||
|
||||
Logger.LogVerbose($"Finished creating [{body.Config.name}]");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user