File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,14 @@ public class ServerPostGameState : GameStateBehaviour
2323
2424 [ SerializeField ]
2525 PostGameUI m_PostGameUI ;
26-
26+
2727 [ SerializeField ]
2828 UIMessageFeed m_MessageFeed ;
2929
30- public override GameState ActiveState { get { return GameState . PostGame ; } }
30+ public override GameState ActiveState
31+ {
32+ get { return GameState . PostGame ; }
33+ }
3134
3235 [ Inject ]
3336 ConnectionManager m_ConnectionManager ;
@@ -41,7 +44,7 @@ protected override void Awake()
4144
4245 m_NetcodeHooks . OnNetworkSpawnHook += OnNetworkSpawn ;
4346 }
44-
47+
4548 protected override void Configure ( IContainerBuilder builder )
4649 {
4750 base . Configure ( builder ) ;
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ void OnLifeStateChangedEvent(LifeStateChangedEventMessage eventMessage)
9797 default :
9898 throw new ArgumentOutOfRangeException ( ) ;
9999 }
100+
100101 break ;
101102 }
102103 }
@@ -116,6 +117,7 @@ OldUIMessageSlot GetAvailableSlot()
116117 return slot ;
117118 }
118119 }
120+
119121 var go = Instantiate ( m_MessageSlotPrefab , m_VerticalLayoutGroup . transform ) ;
120122 var messageSlot = go . GetComponentInChildren < OldUIMessageSlot > ( ) ;
121123 m_MessageSlots . Add ( messageSlot ) ;
@@ -129,6 +131,5 @@ void OnDestroy()
129131 m_Subscriptions . Dispose ( ) ;
130132 }
131133 }
132-
133134 }
134- }
135+ }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ enum QuitMode
2323
2424 [ Inject ]
2525 IPublisher < QuitApplicationMessage > m_QuitApplicationPub ;
26-
26+
2727 public void Quit ( )
2828 {
2929 switch ( m_QuitMode )
You can’t perform that action at this time.
0 commit comments