Skip to content

Commit

Permalink
maybe the last one for this plugin... hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
fdChasm committed May 31, 2010
1 parent 522add7 commit f4c7611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyscripts/plugins/maprotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def onConnect(cn):

if config['Main']['use_preset_rotation']:
modeMapLists = {}
for mode in config['Maps']:
modeMapLists[mode[0]] = mode[1].replace(' ', '').split(',')
for mode in config['Maps'].keys():
modeMapLists[mode] = config['Maps'][mode].replace(' ', '').split(',')
rotate_on_join = [False]
mn = modes.index(config['Main']['start_mode'])
sbserver.setMap(modeMapLists[config['Main']['start_mode']][0], mn)
Expand Down

0 comments on commit f4c7611

Please sign in to comment.