- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user