Skip to content

Commit

Permalink
RW v1.9.06
Browse files Browse the repository at this point in the history
Updated the target version, and added a new check from `JollyUpdate()`.
  • Loading branch information
SabreML committed Feb 22, 2023
1 parent d43cc0f commit 3f4d8bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions SingleplayerCoopEmotes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace SingleplayerCoopEmotes
{
[BepInPlugin("sabreml.singleplayercoopemotes", "SingleplayerCoopEmotes", "1.1.5")]
[BepInPlugin("sabreml.singleplayercoopemotes", "SingleplayerCoopEmotes", "1.1.6")]
public class SingleplayerCoopEmotes : BaseUnityPlugin
{
public void OnEnable()
Expand Down Expand Up @@ -59,7 +59,7 @@ private void JollyUpdateHK(On.Player.orig_JollyUpdate orig, Player self, bool eu
{
// If this is hooked then the checks above must have passed, so we don't need to worry about it trying to emote twice.
orig(self, eu);
if (self.isNPC || self.room == null)
if (self.isNPC || self.room == null || self.abstractCreature.world.game.wasAnArtificerDream)
{
return;
}
Expand Down
13 changes: 7 additions & 6 deletions SingleplayerCoopEmotes/modinfo.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"id": "sabreml.singleplayercoopemotes",
"name": "Singleplayer Co-op Emotes",
"version": "1.1.5",
"target_game_version": "v1.9.05",
"authors": "SabreML",
"description": "Makes the Jolly Co-op emotes work in singleplayer!"
"id": "sabreml.singleplayercoopemotes",
"name": "Singleplayer Co-op Emotes",
"version": "1.1.6",
"target_game_version": "v1.9.06",
"authors": "SabreML",
"description": "Makes the Jolly Co-op emotes work in singleplayer!",
"tags": ["Game Mechanics"]
}

0 comments on commit 3f4d8bf

Please sign in to comment.