forked from CFC-Servers/cfc_chat_transit
Fix map change not properly applying
This commit is contained in:
parent
daf8cfb5cc
commit
c87eacb920
@ -3,8 +3,8 @@ ChatTransit.playerCount = 0
|
||||
increment = -> ChatTransit.playerCount += 1
|
||||
decrement = -> ChatTransit.playerCount -= 1
|
||||
|
||||
hook.Add "ClientSignOnStateChanged", "ChatTransit_PlayerCount", (_, _, newstate) ->
|
||||
return unless newstate == 7
|
||||
hook.Add "ClientSignOnStateChanged", "ChatTransit_PlayerCount", (_, oldstate) ->
|
||||
return unless oldstate == 7
|
||||
increment!
|
||||
|
||||
gameevent.Listen "player_connect"
|
||||
|
Loading…
Reference in New Issue
Block a user