forked from CFC-Servers/cfc_chat_transit
Use first think instead
This commit is contained in:
parent
1d1cb71cc4
commit
094fe52181
@ -34,10 +34,14 @@ alertPreference = (val) ->
|
||||
WriteBool val
|
||||
SendToServer!
|
||||
|
||||
hook.Add "InitPostEntity", "CFC_ChatTransit_AlertRemoteMessagePreference", ->
|
||||
-- TODO: Why isn't this doing the trick
|
||||
initHookName = "CFC_ChatTransit_AlertRemoteMessagePreference"
|
||||
|
||||
hook.Add "Think", initHookName, ->
|
||||
hook.Remove "Think", initHookName
|
||||
alertPreference shouldReceiveRemoteMessages\GetBool!
|
||||
|
||||
return nil
|
||||
|
||||
populatePanel = (panel) ->
|
||||
--label = "Should show remote messages (i.e. from Discord)"
|
||||
label = "Should show remote messages"
|
||||
|
Loading…
Reference in New Issue
Block a user