Skip to content

Commit

Permalink
Merge pull request #147 from InvalidArgument3/initialversion
Browse files Browse the repository at this point in the history
more name fixing
  • Loading branch information
InvalidArgument3 authored Oct 19, 2024
2 parents e2c3713 + 3d581d1 commit 7b622fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Slipspace Engine/Data/Scripts/WarpDrive/WarpDrive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

namespace WarpDriveMod
{
[MyEntityComponentDescriptor(typeof(MyObjectBuilder_UpgradeModule), false, "SlipspaceDriveLarge", "SlipspaceCoreSmall")]
[MyEntityComponentDescriptor(typeof(MyObjectBuilder_UpgradeModule), false, "SlipspaceCoreLarge", "SlipspaceCoreSmall")]
public class WarpDrive : MyGameLogicComponent
{
public IMyFunctionalBlock Block { get; private set; }
Expand Down Expand Up @@ -203,7 +203,7 @@ private void InitPowerSystem()
powerSystem.Init(MyStringHash.GetOrCompute("Utility"), Settings.baseRequiredPowerSmall * Settings.powerRequirementMultiplier,
ComputeRequiredPower, (MyCubeBlock)Entity);

if (blocksubtupe == "SlipspaceDriveLarge")
if (blocksubtupe == "SlipspaceCoreLarge")
powerSystem.Init(MyStringHash.GetOrCompute("Utility"), Settings.baseRequiredPower * Settings.powerRequirementMultiplier,
ComputeRequiredPower, (MyCubeBlock)Entity);

Expand Down
4 changes: 2 additions & 2 deletions Slipspace Engine/Data/Scripts/WarpDrive/WarpSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@ private void UpdateHeatPower()
}
else
{
if (drive.Block.BlockDefinition.SubtypeId == "SlipspaceDriveLarge")
if (drive.Block.BlockDefinition.SubtypeId == "SlipspaceCoreLarge")
totalPower = WarpDrive.Instance.Settings.baseRequiredPower + (_mass * 2.1f / 1000000f);
}
}
Expand Down Expand Up @@ -1743,7 +1743,7 @@ private void UpdateHeatPower()
}
else
{
if (drive.Block.BlockDefinition.SubtypeId == "SlipspaceDriveLarge")
if (drive.Block.BlockDefinition.SubtypeId == "SlipspaceCoreLarge")
totalPower = (WarpDrive.Instance.Settings.baseRequiredPower + percent) / WarpDrive.Instance.Settings.powerRequirementBySpeedDeviderLarge;
}
}
Expand Down

0 comments on commit 7b622fb

Please sign in to comment.