Adapted stone door to open for all players if set team == 0

stable-5.3
Maikel de Vries 2012-11-23 23:07:40 +01:00 committed by Armin Burgmeier
parent ce49a25d20
commit 19955fd03d
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ protected func FxAutoControlTimer(object target, effect, int time)
{
var plr = clonk->GetOwner();
var plr_team = GetPlayerTeam(plr);
if (plr_team == team)
if (team == 0 || plr_team == team)
open_door = true;
}
// Player control