forked from Hay1tsme/artemis
wacca: fix edge case in handle_housing_start_request
This commit is contained in:
parent
f24d554a44
commit
9ad724d64b
@ -103,6 +103,8 @@ class WaccaBase():
|
||||
|
||||
if region is None:
|
||||
region_id = self.region_id
|
||||
else:
|
||||
region_id = region
|
||||
|
||||
else:
|
||||
region_id = self.region_id
|
||||
@ -111,7 +113,7 @@ class WaccaBase():
|
||||
region_id = WaccaConstants.Region[req.appVersion.country]
|
||||
|
||||
else:
|
||||
region_id = 0
|
||||
region_id = WaccaConstants.Region.NONE
|
||||
|
||||
resp = HousingStartResponseV1(region_id)
|
||||
return resp.make()
|
||||
|
Loading…
Reference in New Issue
Block a user