Survival mode ready

This commit is contained in:
Rendo 2025-06-26 20:18:19 +05:00
commit 7614b12076
50 changed files with 586 additions and 81 deletions

View file

@ -16,6 +16,7 @@ public partial class FloatModifiers : Resource
percentage_value = per,
mult_value = mult
};
mod.ResourceLocalToScene = true;
return mod;
}

View file

@ -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;