mirror of
https://github.com/kwsch/NHSE.git
synced 2026-08-28 13:54:24 -05:00
Add layer2->layer1 check (isSupported), add logic for isActive
isActive: indicates if the tile is animated (eg: bonfire has fire or is extinguished) isSupported: layer2 tile checks beneath it (layer1) to see if there's something to hold it up on that layer (sanity check) Dunno how to handle the isActive set-on-save. I saw there was an isActive flag in my plaza, assumedly left there from a radio or something. NHSE does not change flag state at this time.
This commit is contained in:
@@ -10,7 +10,7 @@ public class MapManager : MapTerrainStructure
|
||||
|
||||
public MapManager(MainSave sav) : base(sav)
|
||||
{
|
||||
Items = new FieldItemManager(sav.GetFieldItems());
|
||||
Items = new FieldItemManager(sav);
|
||||
}
|
||||
|
||||
public FieldItemLayer CurrentLayer => MapLayer == 0 ? Items.Layer1 : Items.Layer2;
|
||||
|
||||
Reference in New Issue
Block a user