return settings.modules.tournament_mode.enabled and settings.modules.tournament_mode.block_replay_to_player or settings.modules.replay_delay unless room
dataManager.saveDuelLog(room.name,room.process_pid,room.cloud_replay_id,replay_filename,room.hostinfo.mode,room.duel_count,playerInfos)# no synchronize here because too slow
dataManager.saveDuelLog(room.name,room.process_pid,room.cloud_replay_id,replay_filename,room.hostinfo.mode,room.duel_count,playerInfos)# no synchronize here because too slow
if settings.modules.mysql.enabled && settings.modules.cloud_replay.enabled and settings.modules.tournament_mode.enabled and settings.modules.tournament_mode.replay_safe