Restore Continue stat grids from typed state

This commit is contained in:
Meta Vens 2026-06-16 07:18:14 +01:00
commit 75d3f05fd9
6 changed files with 80 additions and 3 deletions

View file

@ -2544,6 +2544,7 @@ public class ActionGameManager : MonoBehaviour
Zone.Entities.Add(entity);
entity.Activate();
entity.HeatsinksEnabled = entitySnapshot.HeatsinksEnabled;
entity.RestoreStatGrids(entitySnapshot.StatGrids);
entity.RestoreThermalExposure((float)entitySnapshot.Heatstroke, (float)entitySnapshot.Hypothermia);
RestoreActiveConsumablesFromTypedEntitySnapshot(entity, entitySnapshot);
BindToEntity(entity);