def METHOD_NAME(self, map):
    self.one_ctf = self.reverse_one_ctf = False
    self.one_ctf_spawn_pos = FLAG_SPAWN_POS
    extensions = self.map_info.extensions
    if "one_ctf" in extensions:
        self.one_ctf = extensions['one_ctf']
    elif not self.one_ctf and 'reverse_one_ctf' in extensions:
        self.reverse_one_ctf = extensions['reverse_one_ctf']
    elif ONE_CTF_MODE == ONE_CTF:
        self.one_ctf = True
    elif ONE_CTF_MODE == REVERSE_ONE_CTF:
        self.reverse_one_ctf = True
    if 'one_ctf_spawn_pos' in extensions:
        self.one_ctf_spawn_pos = extensions['one_ctf_spawn_pos']
    return protocol.METHOD_NAME(self, map)