Фиксы и твики (#29)
* - fix: Fix speech verbs * - fix: Fix ling chat * - add: Chemical check before regeneration * - tweak: Tweak ling armor * - tweak: Tweak fleshmend * - tweak: Stims no longer satiate hunger & thirst * - add: New bleed alert * - fix: Add missing bool
This commit is contained in:
@@ -547,12 +547,18 @@ public sealed class ChatUIController : UIController
|
||||
}
|
||||
|
||||
// WD EDIT
|
||||
var localEnt = _player.LocalPlayer != null ? _player.LocalPlayer.ControlledEntity : null;
|
||||
if (_entities.TryGetComponent(localEnt, out CultistComponent? comp))
|
||||
var localEnt = _player.LocalEntity;
|
||||
if (_entities.HasComponent<CultistComponent>(localEnt))
|
||||
{
|
||||
FilterableChannels |= ChatChannel.Cult;
|
||||
CanSendChannels |= ChatSelectChannel.Cult;
|
||||
}
|
||||
|
||||
if (_entities.HasComponent<ChangelingComponent>(localEnt))
|
||||
{
|
||||
FilterableChannels |= ChatChannel.Changeling;
|
||||
CanSendChannels |= ChatSelectChannel.Changeling;
|
||||
}
|
||||
// WD EDIT END
|
||||
|
||||
SelectableChannels = CanSendChannels;
|
||||
|
||||
Reference in New Issue
Block a user