terminator44 wrote:
While I love your new levels and scenes, I think there's a problem with your lose conditions. The game crashes every time my brain dies.
Oops! That is actually a bug in the native BB activity.
Find this code (somewhere near line 245):
Code:
Brain = MovableMan:GetUnassignedBrain(Activity.TEAM_1)
if Brain then
self:SetPlayerBrain(Brain, player)
self:SwitchToActor(Brain, player, self:GetTeamOfPlayer(player))
end
And replace with this:
Code:
Brain = MovableMan:GetUnassignedBrain(Activity.TEAM_1)
if Brain then
self:SetPlayerBrain(Brain, player)
self:SwitchToActor(Brain, player, self:GetTeamOfPlayer(player))
else
self:SetPlayerBrain(nil, player)
end