mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix disabled reference frames (#835)
## Bug fixes - Disabled reference frames are no longer targetable (#834)
This commit is contained in:
commit
d749d934d2
@ -12,6 +12,8 @@ namespace NewHorizons.Builder.General
|
|||||||
{
|
{
|
||||||
// We can't not build a reference frame volume, Cloak requires one to be there
|
// We can't not build a reference frame volume, Cloak requires one to be there
|
||||||
module.maxTargetDistance = 0f;
|
module.maxTargetDistance = 0f;
|
||||||
|
module.targetWhenClose = true;
|
||||||
|
module.targetColliderRadius = 0f;
|
||||||
module.hideInMap = true;
|
module.hideInMap = true;
|
||||||
owrb.SetIsTargetable(false);
|
owrb.SetIsTargetable(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user