mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Make API call ignore remoteTrigger if radius is zero or negative
This commit is contained in:
parent
2f913fc8b0
commit
d6ef412480
@ -206,11 +206,11 @@ namespace NewHorizons
|
|||||||
radius = radius,
|
radius = radius,
|
||||||
range = range,
|
range = range,
|
||||||
xmlFile = xmlFile,
|
xmlFile = xmlFile,
|
||||||
remoteTrigger = new RemoteTriggerInfo()
|
remoteTrigger = remoteTriggerRadius > 0f ? new RemoteTriggerInfo()
|
||||||
{
|
{
|
||||||
position = null,
|
position = null,
|
||||||
radius = remoteTriggerRadius,
|
radius = remoteTriggerRadius,
|
||||||
},
|
} : null,
|
||||||
};
|
};
|
||||||
|
|
||||||
return DialogueBuilder.Make(root, null, info, mod);
|
return DialogueBuilder.Make(root, null, info, mod);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user