forked from Dniel97/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:
|
if region is None:
|
||||||
region_id = self.region_id
|
region_id = self.region_id
|
||||||
|
else:
|
||||||
|
region_id = region
|
||||||
|
|
||||||
else:
|
else:
|
||||||
region_id = self.region_id
|
region_id = self.region_id
|
||||||
@ -111,7 +113,7 @@ class WaccaBase():
|
|||||||
region_id = WaccaConstants.Region[req.appVersion.country]
|
region_id = WaccaConstants.Region[req.appVersion.country]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
region_id = 0
|
region_id = WaccaConstants.Region.NONE
|
||||||
|
|
||||||
resp = HousingStartResponseV1(region_id)
|
resp = HousingStartResponseV1(region_id)
|
||||||
return resp.make()
|
return resp.make()
|
||||||
|
Loading…
Reference in New Issue
Block a user