77 else if section = 0 then |
77 else if section = 0 then |
78 begin // [Team] |
78 begin // [Team] |
79 if copy(l, 1, 5) = 'Name=' then |
79 if copy(l, 1, 5) = 'Name=' then |
80 team.teamName:= midStr(l, 6) |
80 team.teamName:= midStr(l, 6) |
81 else if copy(l, 1, 6) = 'Grave=' then |
81 else if copy(l, 1, 6) = 'Grave=' then |
82 team.graveName:= midStr(l, 7) |
82 team.grave:= midStr(l, 7) |
83 else if copy(l, 1, 5) = 'Fort=' then |
83 else if copy(l, 1, 5) = 'Fort=' then |
84 team.fortName:= midStr(l, 6) |
84 team.fort:= midStr(l, 6) |
85 else if copy(l, 1, 5) = 'Flag=' then |
85 else if copy(l, 1, 5) = 'Flag=' then |
86 team.flag:= midStr(l, 6) |
86 team.flag:= midStr(l, 6) |
87 end; |
87 end; |
88 // TODO: load hedgehogs and other stuff |
88 // TODO: load hedgehogs and other stuff |
89 team.botLevel:= 0 |
89 team.botLevel:= 0 |