CommonClient: make IncompatibleVersion more explicit. (#2350)
This commit is contained in:
parent
44a9bb59ec
commit
287a186ff6
|
@ -737,7 +737,8 @@ async def process_server_cmd(ctx: CommonContext, args: dict):
|
||||||
elif 'InvalidGame' in errors:
|
elif 'InvalidGame' in errors:
|
||||||
ctx.event_invalid_game()
|
ctx.event_invalid_game()
|
||||||
elif 'IncompatibleVersion' in errors:
|
elif 'IncompatibleVersion' in errors:
|
||||||
raise Exception('Server reported your client version as incompatible')
|
raise Exception('Server reported your client version as incompatible. '
|
||||||
|
'This probably means you have to update.')
|
||||||
elif 'InvalidItemsHandling' in errors:
|
elif 'InvalidItemsHandling' in errors:
|
||||||
raise Exception('The item handling flags requested by the client are not supported')
|
raise Exception('The item handling flags requested by the client are not supported')
|
||||||
# last to check, recoverable problem
|
# last to check, recoverable problem
|
||||||
|
|
Loading…
Reference in New Issue