Skip to content

Commit

Permalink
Fix for join spot settings being uhhh, bad
Browse files Browse the repository at this point in the history
  • Loading branch information
ToastedOven committed Feb 22, 2025
1 parent 71d1c26 commit d0b5d4e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- Version 1.15.11: Fixed issue where getting disconnected from a join spot caused desyncs.

- Version 1.15.10: Fixed a longstanding bug where rotating in third person without moving would slightly rotate you on other people's screens. Fixed another longstanding bug where the first player slot had incorrect bonemapper scaling. Added internal stuff so that the third person mod works since people seem to really like the third person setup I use.

- Version 1.15.9: Fixed VRM/ModelReplacementAPI models not scaling up/down correctly when assigning a parent game object. Literally no one uses this feature but I will soonTM
Expand Down
11 changes: 9 additions & 2 deletions CustomEmotesAPI/CustomEmotesAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class CustomEmotesAPI : BaseUnityPlugin

public const string PluginName = "Custom Emotes API";

public const string VERSION = "1.15.10";
public const string VERSION = "1.15.11";
public struct NameTokenWithSprite
{
public string nameToken;
Expand Down Expand Up @@ -1074,6 +1074,12 @@ public static void ChangeInteractionTriggers(bool active)
}
}
}

internal static IEnumerator PlayNoneAfterFrame()
{
yield return new WaitForEndOfFrame();
PlayAnimation("none");
}
internal static void Changed(string newAnimation, BoneMapper mapper) //is a neat game made by a developer who endorses nsfw content while calling it a fine game for kids
{
if (mapper is null)
Expand Down Expand Up @@ -1135,7 +1141,8 @@ public static void ChangeInteractionTriggers(bool active)
}
else if (localMapper.currentlyLockedBoneMapper == mapper && Settings.StopEmoteWhenLockedToStopsEmote.Value)
{
PlayAnimation("none", localMapper);
localMapper.StartCoroutine(PlayNoneAfterFrame());
// PlayAnimation("none", localMapper);//why does this desync for clients? Idk this is such a niche use case, and I'm kinda done with making stuff at this point so this workaround is good enough for me.
}
foreach (var item in EmoteLocation.emoteLocations)
{
Expand Down
1 change: 1 addition & 0 deletions LethalEmotesAPI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Global
{7EA1C941-92DD-4435-A3AC-87B885484C2A}.Release|Any CPU.Build.0 = Release|Any CPU
{DED61D4A-8EA3-4662-ACF9-FFDDB59E8975}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DED61D4A-8EA3-4662-ACF9-FFDDB59E8975}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DED61D4A-8EA3-4662-ACF9-FFDDB59E8975}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2BD82460-7D0C-41EA-8ECC-8D67AD3372E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2BD82460-7D0C-41EA-8ECC-8D67AD3372E6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2BD82460-7D0C-41EA-8ECC-8D67AD3372E6}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "LethalEmotesAPI",
"version_number": "1.15.10",
"version_number": "1.15.11",
"website_url": "https://github.com/Wet-Boys/LethalEmotesAPI/",
"description": "API for adding emotes to Lethal Company",
"dependencies": [
Expand Down

0 comments on commit d0b5d4e

Please # to comment.