Skip to content

Commit 18ffd0f

Browse files
RimWorld 1.3 support
1 parent 7ea3199 commit 18ffd0f

File tree

7 files changed

+9
-2
lines changed

7 files changed

+9
-2
lines changed

1.2/Assemblies/CM_Go_To_Sleep.dll

7.5 KB
Binary file not shown.

1.3/Assemblies/CM_Go_To_Sleep.dll

7.5 KB
Binary file not shown.

About/About.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<url>https://github.com/CaptainMuscles/CM_Go_To_Sleep</url>
77
<supportedVersions>
88
<li>1.2</li>
9+
<li>1.3</li>
910
</supportedVersions>
1011
<description>Do your pawns have a big fight or caravan trip to rest up for? Want them to rest up without having to change the schedule and make it happen indirectly? Wouldn't it be easier if you could just tell them to GO THE F*** TO SLEEP?
1112

About/Manifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<Manifest>
33
<identifier>CaptainMuscles.GoToSleep</identifier>
4-
<version>1.0.0</version>
4+
<version>1.0.1</version>
55
<dependencies>
66
<li>Ludeon.RimWorld</li>
77
<li>brrainz.harmony</li>

Assemblies/CM_Go_To_Sleep.dll

0 Bytes
Binary file not shown.

Changelog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.0.1] - 2021-07-23
2+
3+
### Added
4+
- Support for RimWorld version 1.3
5+
6+
17
## [1.0.0] - 2021-01-21
28

39
### Added

Source/CM_Go_To_Sleep/FloatMenuMakerMap_Patches.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static void Postfix(Vector3 clickPos, Pawn pawn, List<FloatMenuOption> op
2222
if (pawn.needs == null || pawn.needs.rest == null)
2323
return;
2424

25-
foreach (LocalTargetInfo bed in GenUI.TargetsAt_NewTemp(clickPos, ForSleeping(pawn), thingsOnly: true))
25+
foreach (LocalTargetInfo bed in GenUI.TargetsAt(clickPos, ForSleeping(pawn), thingsOnly: true))
2626
{
2727
if (pawn.needs.rest.CurLevel > RestUtility.FallAsleepMaxLevel(pawn))
2828
{

0 commit comments

Comments
 (0)