Skip to content

Commit 930bb5f

Browse files
committed
Test activity now sets all doors to NOTEAM
1 parent e3865fc commit 930bb5f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Data/Base.rte/Activities/Test.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ package.loaded.Constants = nil; require("Constants");
66

77
function Test:StartActivity()
88
print("START! -- Test:StartActivity()!");
9+
10+
for actor in MovableMan.AddedActors do
11+
if IsADoor(actor) then
12+
actor.Team = Activity.NOTEAM;
13+
end
14+
end
915

1016
for player = Activity.PLAYER_1, Activity.MAXPLAYERCOUNT - 1 do
1117
if self:PlayerActive(player) and self:PlayerHuman(player) then

0 commit comments

Comments
 (0)