Fix revert to automation.

This commit is contained in:
Ottermandias 2024-03-14 16:22:14 +01:00
parent fdd74c0514
commit 7af0a1d562
3 changed files with 8 additions and 14 deletions

View file

@ -223,8 +223,7 @@ public class InternalStateEditor(
/// <summary> Change the value of a single material color table entry. </summary>
public bool ChangeMaterialValue(ActorState state, MaterialValueIndex index, in MaterialValueState newValue, StateSource source,
out ColorRow? oldValue,
uint key = 0)
out ColorRow? oldValue, uint key = 0)
{
// We already have an existing value.
if (state.Materials.TryGetValue(index, out var old))