Survival mode ready
This commit is contained in:
parent
0fff33d196
commit
7614b12076
50 changed files with 586 additions and 81 deletions
|
|
@ -16,6 +16,7 @@ public partial class FloatModifiers : Resource
|
|||
percentage_value = per,
|
||||
mult_value = mult
|
||||
};
|
||||
mod.ResourceLocalToScene = true;
|
||||
return mod;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,8 +68,13 @@ public partial class FloatModsProperty : EditorProperty
|
|||
if (newValue == null)
|
||||
{
|
||||
newValue = new();
|
||||
newValue.ResourceLocalToScene = true;
|
||||
EmitChanged(GetEditedProperty(), newValue);
|
||||
}
|
||||
if (newValue.ResourceLocalToScene == false)
|
||||
{
|
||||
newValue.ResourceLocalToScene = true;
|
||||
}
|
||||
if (newValue == _currentValue)
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue