Restore Continue stat grids from typed state
This commit is contained in:
parent
2a047cba28
commit
75d3f05fd9
6 changed files with 80 additions and 3 deletions
|
|
@ -847,6 +847,7 @@ static void RequireMainMenuContinueRunState(string root)
|
|||
"CreateEntityConstructionBlueprint(entitySnapshot, true)",
|
||||
"BindToEntity(entity)",
|
||||
"RestoreActiveConsumablesFromTypedEntitySnapshot(entity, entitySnapshot)",
|
||||
"entity.RestoreStatGrids(entitySnapshot.StatGrids)",
|
||||
"RestoreThermalExposure((float)entitySnapshot.Heatstroke, (float)entitySnapshot.Hypothermia)",
|
||||
"entity.HeatsinksEnabled = entitySnapshot.HeatsinksEnabled",
|
||||
"ContinueRunState = null",
|
||||
|
|
@ -891,6 +892,8 @@ static void RequireMainMenuContinueRunState(string root)
|
|||
{
|
||||
"RestoreThermalExposure",
|
||||
"RestoreActiveConsumable",
|
||||
"RestoreStatGrids",
|
||||
"RestoreHullConductivityGrid",
|
||||
"new ConsumableItemEffect(item, this, remainingDuration, duration)"
|
||||
};
|
||||
var missingEntityRestoreSymbols = requiredEntityRestoreSymbols
|
||||
|
|
|
|||
Loading…
Reference in a new issue