Fixed Scorpion + Fixed chat when controlling monsters + Shameless plug ;)

This commit is contained in:
juanjp600
2017-02-21 13:58:30 -03:00
parent 05ce7ac5e9
commit 6f821874a1
3 changed files with 5 additions and 1 deletions

View File

@@ -243,6 +243,7 @@ namespace Barotrauma.Networking
if (radio == null || !sender.HasEquippedItem(radio)) return false;
var radioComponent = radio.GetComponent<WifiComponent>();
if (radioComponent == null) return false;
return radioComponent.HasRequiredContainedItems(false);
}