@@ -134,7 +134,7 @@ private void RefreshInfo()
134134 MapTile . DoForAllBuildings ( structure => AddObjectInformation ( "Structure: " , structure ) ) ;
135135 MapTile . DoForAllInfantry ( inf => AddObjectInformation ( "Infantry: " , inf ) ) ;
136136 MapTile . DoForAllWaypoints ( waypoint => AddWaypointInfo ( waypoint ) ) ;
137- AddBaseNodeInformation ( map . GetBaseNode ( MapTile . CoordsToPoint ( ) ) ) ;
137+ AddBaseNodeInformation ( map . GetBaseNodes ( MapTile . CoordsToPoint ( ) ) ) ;
138138 AddTerrainObjectInformation ( MapTile . TerrainObject ) ;
139139
140140 textRenderer . PrepareTextParts ( ) ;
@@ -290,20 +290,20 @@ private void AddObjectInformation<T>(string objectTypeLabel, Techno<T> techno) w
290290 }
291291 }
292292
293- private void AddBaseNodeInformation ( BaseNode baseNode )
293+ private void AddBaseNodeInformation ( List < BaseNode > baseNodes )
294294 {
295- if ( baseNode == null )
296- return ;
297-
298- var nodeBuildingType = map . Rules . BuildingTypes . Find ( bt => bt . ININame == baseNode . StructureTypeName ) ;
299- var house = map . Houses . Find ( house => house . BaseNodes . Contains ( baseNode ) ) ;
295+ foreach ( var baseNode in baseNodes )
296+ {
297+ var nodeBuildingType = map . Rules . BuildingTypes . Find ( bt => bt . ININame == baseNode . StructureTypeName ) ;
298+ var house = map . Houses . Find ( house => house . BaseNodes . Contains ( baseNode ) ) ;
300299
301- if ( nodeBuildingType == null || house == null )
302- return ;
300+ if ( nodeBuildingType == null || house == null )
301+ return ;
303302
304- textRenderer . AddTextLine ( new XNATextPart ( "Base Node: " , Constants . UIDefaultFont , Color . Gray ) ) ;
305- textRenderer . AddTextPart ( new XNATextPart ( $ "{ nodeBuildingType . Name } ({ nodeBuildingType . ININame } ), Owner:", Constants . UIDefaultFont , Color . White ) ) ;
306- textRenderer . AddTextPart ( new XNATextPart ( house . ININame , Constants . UIBoldFont , house . XNAColor ) ) ;
303+ textRenderer . AddTextLine ( new XNATextPart ( "Base Node: " , Constants . UIDefaultFont , Color . Gray ) ) ;
304+ textRenderer . AddTextPart ( new XNATextPart ( $ "{ nodeBuildingType . Name } ({ nodeBuildingType . ININame } ), Owner:", Constants . UIDefaultFont , Color . White ) ) ;
305+ textRenderer . AddTextPart ( new XNATextPart ( house . ININame , Constants . UIBoldFont , house . XNAColor ) ) ;
306+ }
307307 }
308308
309309 private void AddTerrainObjectInformation ( TerrainObject terrainObject )
0 commit comments