Skip to content

Commit c344e27

Browse files
committed
1.0.2231 update
1 parent ca2e022 commit c344e27

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

About/About.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77

88
<url>https://ludeon.com/forums/index.php?topic=21938.0</url>
99

10-
<targetVersion>0.18.0</targetVersion>
10+
<supportedVersions>
11+
<li>1.0</li>
12+
</supportedVersions>
1113

1214
<description>Reverses the fast forward options so they slow down the game instead. Useful for achieving a constant video framerate when the game is under heavy stress, or for slowing down combat.
1315

Assemblies/0Harmony.dll

41 KB
Binary file not shown.

Assemblies/SlowDown.dll

0 Bytes
Binary file not shown.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Changes the speed-up function to a slow-down function.
55

66
## Changelog:
77

8+
### Build 3_20190418 (targets 1.0.2231)
9+
* Update to 1.0.x
10+
* No functionality changes
11+
812
### A17 Release 2
913
* Added a keybind to toggle the mod, defaults to Alpha5
1014

Source/SlowDown/Main.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static Main()
1616
}
1717

1818
[HarmonyPatch(typeof(TickManager))]
19-
[HarmonyPatch("TickRateMultiplier", PropertyMethod.Getter)]
19+
[HarmonyPatch("TickRateMultiplier", MethodType.Getter)]
2020
public class Patch1
2121
{
2222
[HarmonyPrefix]
@@ -46,7 +46,7 @@ static bool Prefix(TickManager __instance, ref float __result)
4646
//__result = 1f;
4747
return false;
4848
case TimeSpeed.Superfast:
49-
if (Find.VisibleMap == null)
49+
if (Find.Maps.Count == 0)
5050
{
5151
__result = 150f;
5252
//__result = 1f;
@@ -62,7 +62,7 @@ static bool Prefix(TickManager __instance, ref float __result)
6262
//__result = 1f;
6363
return false;
6464
case TimeSpeed.Ultrafast:
65-
if (Find.VisibleMap == null)
65+
if (Find.Maps.Count == 0)
6666
{
6767
__result = 250f;
6868
//__result = 1f;
@@ -80,7 +80,7 @@ static bool Prefix(TickManager __instance, ref float __result)
8080
}
8181

8282
[HarmonyPatch(typeof(TickManager))]
83-
[HarmonyPatch("CurTimePerTick", PropertyMethod.Getter)]
83+
[HarmonyPatch("CurTimePerTick", MethodType.Getter)]
8484
public class Patch2
8585
{
8686
[HarmonyPrefix]

Source/SlowDown/SlowDown.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
</PropertyGroup>
3232
<ItemGroup>
3333
<Reference Include="0Harmony">
34-
<HintPath>..\..\..\0Harmony.dll</HintPath>
34+
<HintPath>..\..\..\..\assemblies\0Harmony.dll</HintPath>
3535
</Reference>
3636
<Reference Include="Assembly-CSharp">
37-
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin_Data\Managed\Assembly-CSharp.dll</HintPath>
37+
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\Assembly-CSharp.dll</HintPath>
3838
<Private>False</Private>
3939
</Reference>
4040
<Reference Include="System" />
@@ -44,7 +44,7 @@
4444
<Reference Include="System.Data" />
4545
<Reference Include="System.Xml" />
4646
<Reference Include="UnityEngine">
47-
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin_Data\Managed\UnityEngine.dll</HintPath>
47+
<HintPath>..\..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\RimWorld\RimWorldWin64_Data\Managed\UnityEngine.dll</HintPath>
4848
<Private>False</Private>
4949
</Reference>
5050
</ItemGroup>

0 commit comments

Comments
 (0)