//Clear these variables when loading a save, otherwise old data may persist between loads public static void ClearStaticInfo() { QueueDamage.ClearLastNotification(); queueDamages = new List <QueueDamage>(); }
public static void DoPressureDamage(GameObject obj) { BuildingHP.DamageSourceInfo damage = GetPressureDamage(); obj.Trigger((int)GameHashes.DoBuildingDamage, damage); QueueDamage.ExecuteNotification(obj); }