Expose LockTeam/LockSpawn to mappers

This commit is contained in:
Paul Chote
2011-06-19 17:26:36 +12:00
parent 8875d1adee
commit bafa411329
4 changed files with 20 additions and 5 deletions

View File

@@ -244,6 +244,10 @@ namespace OpenRA.Server
c.ColorRamp = pr.ColorRamp;
if (pr.LockRace)
c.Country = pr.Race;
if (pr.LockSpawn)
c.SpawnPoint = pr.Spawn;
if (pr.LockTeam)
c.Team = pr.Team;
}
public void UpdateInFlightFrames(Connection conn)