mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 02:35:06 +08:00
fix: transient NRE when opening reaction debugger (#1301)
This commit is contained in:
parent
9dc342e81e
commit
ab4d1fd2f4
@ -128,7 +128,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
foreach (var cond in rule.ControllingConditions)
|
||||
{
|
||||
var paramName = cond.Parameter;
|
||||
if (ForcePropertyOverrides.TryGetValue(paramName, out var value))
|
||||
if (ForcePropertyOverrides?.TryGetValue(paramName, out var value) == true)
|
||||
{
|
||||
cond.InitialValue = value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user