Skip to content

Commit 63651ad

Browse files
committed
- fix spelling error for getPlanetaryResourceMapData
- fix part name for deployable radiator - fix part config name for AtmospericScoop
1 parent 0cb18c9 commit 63651ad

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

GameData/Interstellar/Parts/Electrical/DeployableRadiator/DeployableRadiator.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ entryCost = 40
1919
cost = 400
2020
category = Utility
2121
subcategory = 0
22-
title = Small Heat Radiator
22+
title = Deployable Radiator
2323
manufacturer = Boltzkerman Co.
2424
description = Radiates heat into space via the Stefan-Boltzkerman law.
2525
// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

GameData/Interstellar/Parts/Utility/AtmosphericScoop/AtmosphericScoop.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PART
22
{
33
// --- general parameters ---
4-
name = Atmospheric Scoop
4+
name = AtmosphericScoop
55
module = Part
66
author = zzz
77

OpenResourceSystem/ORSPlanetaryResourceMapData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ protected static bool lineOfSightToPosition(Vector3d a, CelestialBody referenceB
372372
return true;
373373
}
374374

375-
public static Dictionary<string, ORSPlanetaryResourceInfo> getPlaneteryResourceMapData { get { return body_resource_maps; } }
375+
public static Dictionary<string, ORSPlanetaryResourceInfo> getPlanetaryResourceMapData { get { return body_resource_maps; } }
376376

377377

378378

OpenResourceSystem/ORSResourceScanner.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public override void OnUpdate()
4141
{
4242
ORSPlanetaryResourceMapData.updatePlanetaryResourceMap();
4343
if (resourceInfo == null)
44-
if (ORSPlanetaryResourceMapData.getPlaneteryResourceMapData.ContainsKey(resourceName))
45-
resourceInfo = ORSPlanetaryResourceMapData.getPlaneteryResourceMapData[resourceName];
44+
if (ORSPlanetaryResourceMapData.getPlanetaryResourceMapData.ContainsKey(resourceName))
45+
resourceInfo = ORSPlanetaryResourceMapData.getPlanetaryResourceMapData[resourceName];
4646
Events["DisplayResource"].active = Events["DisplayResource"].guiActive = !ORSPlanetaryResourceMapData.resourceIsDisplayed(resourceName) && mapViewAvailable;
4747
Events["DisplayResource"].guiName = "Display " + resourceName + " hotspots";
4848
Events["HideResource"].active = Events["HideResource"].guiActive = ORSPlanetaryResourceMapData.resourceIsDisplayed(resourceName) && mapViewAvailable;

0 commit comments

Comments
 (0)