- Floor map markers have improved physics and weight.

- Added a delay for re-enabling buttons in Round 2, to prevent sync issues.
- Added a button to play a phone ringing sound after Round 2.
This commit is contained in:
2025-08-25 04:54:08 -04:00
parent b5dd078ee1
commit 76b1352bd3
8 changed files with 234 additions and 147 deletions
@@ -303,11 +303,17 @@ public class GameManagerRound2 : GameManagerBase
HostCardRecoverTheLootInterface Interface =
(HostCardRecoverTheLootInterface)GetHostCardInterface(RoundSegmentType.RecoverTheLoot);
Interface.SetComment(_Players[_CurrentPlayerCounter % _Players.Length] + ", your turn.", COLOR_STANDARD);
Interface.EnableAllPanelButtons(true);
SendCustomEventDelayedSeconds(nameof(EnableAllPanelButtons), 0.5f);
}
RequestSerialization();
}
public void EnableAllPanelButtons()
{
HostCardRecoverTheLootInterface Interface =
(HostCardRecoverTheLootInterface)GetHostCardInterface(RoundSegmentType.RecoverTheLoot);
Interface.EnableAllPanelButtons(true);
}
public Texture GetCrookPortrait()
@@ -386,6 +392,11 @@ public class GameManagerRound2 : GameManagerBase
_JailChain.Show = false;
}
public void PhoneRing()
{
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlaySFX", SFXEventType.PhoneRing);
}
public void PlayJailCallAfrica()
{
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlayJailCall", _CaseManager.GetCrook(), ContinentMap.Africa);