changelog

This commit is contained in:
Gurge44 committed 2026-05-23 12:52:48 +02:00
1 parent 96337ba634
commit 2a7af38d56
8 files changed
+97 -20

No files matched your search

+1
View File
@@ -820,6 +820,7 @@ public static class KingOfTheZones
{
if (downtimeExpire > now) continue;
toRemove = zone;
break;
}
if (toRemove.HasValue) ZoneDowntimeExpire.Remove(toRemove.Value);
+1 -1
View File
@@ -342,7 +342,7 @@ public static class NaturalDisasters
else
{
PlainShipRoom collapsingRoom = nonCollapsedRooms.RandomElement();
buildingCollapseInfo = (collapsingRoom.RoomId, Main.LIMap ? collapsingRoom.transform.position : RandomSpawn.SpawnMap.GetSpawnMap().Positions.TryGetValue(collapsingRoom.RoomId, out Vector2 spawnLocation) ? spawnLocation : collapsingRoom.transform.position);
buildingCollapseInfo = (collapsingRoom.RoomId, Main.LIMap ? collapsingRoom.transform.position : RandomSpawn.SpawnMap.GetSpawnMap().Positions.GetValueOrDefault(collapsingRoom.RoomId, collapsingRoom.transform.position));
}
Type disaster = pool.SelectMany(x => Enumerable.Repeat(x.Value, DisasterSpawnChances[x.Key].GetInt() / 5)).RandomElement();