mai2: correct game code check when not encrypted and enable encrypted only

This commit is contained in:
2025-06-14 12:24:07 +00:00
parent cf6666b866
commit 6e5a83f3d7

View File

@ -425,7 +425,7 @@ class Mai2Servlet(BaseServlet):
and self.game_cfg.crypto.encrypted_only and self.game_cfg.crypto.encrypted_only
and ( and (
# SDEZ start from 1.10, SDGA and SDGB keep use encryption from 1.00 # SDEZ start from 1.10, SDGA and SDGB keep use encryption from 1.00
internal_ver >= Mai2Constants.VER_MAIMAI_DX_PLUS or game_code != "SDEZ" internal_ver >= Mai2Constants.VER_MAIMAI_DX_PLUS or (game_code == "SDGA" or game_code == "SDGB")
) )
): ):
self.logger.error( self.logger.error(