We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2aee02 commit d6f1084Copy full SHA for d6f1084
Data/Missions.rte/Activities/DecisionDay.lua
@@ -1803,7 +1803,7 @@ end
1803
function DecisionDay:DoHumanBrainPieSliceHandling()
1804
for _, player in pairs(self.humanPlayers) do
1805
local brain = self:GetPlayerBrain(player);
1806
- if brain and not brain:IsInGroup("Deployed Brain " .. player) then
+ if brain and MovableMan:ValidMO(brain) and not brain:IsInGroup("Deployed Brain " .. player) then
1807
local pieSlice = brain.PieMenu:GetFirstPieSliceByPresetName(self.deployBrainPieSlice.PresetName);
1808
if not pieSlice then
1809
brain.PieMenu:AddPieSlice(self.deployBrainPieSlice:Clone(), self);
0 commit comments