forked from Hay1tsme/artemis
wacca: fix crash on 4th page of Reverse Gate, partially fixes #5
This commit is contained in:
parent
dc3e3e1fb3
commit
b1f9be0121
3
core/data/schema/versions/SDFE_3_rollback.sql
Normal file
3
core/data/schema/versions/SDFE_3_rollback.sql
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SET FOREIGN_KEY_CHECKS=0;
|
||||||
|
--Can't really add items back so this just does nothing
|
||||||
|
SET FOREIGN_KEY_CHECKS=1;
|
3
core/data/schema/versions/SDFE_4_upgrade.sql
Normal file
3
core/data/schema/versions/SDFE_4_upgrade.sql
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SET FOREIGN_KEY_CHECKS=0;
|
||||||
|
DELETE FROM wacca_item WHERE type=17 AND item_id=312002;
|
||||||
|
SET FOREIGN_KEY_CHECKS=1;
|
@ -9,4 +9,4 @@ database = WaccaData
|
|||||||
reader = WaccaReader
|
reader = WaccaReader
|
||||||
frontend = WaccaFrontend
|
frontend = WaccaFrontend
|
||||||
game_codes = [WaccaConstants.GAME_CODE]
|
game_codes = [WaccaConstants.GAME_CODE]
|
||||||
current_schema_version = 3
|
current_schema_version = 4
|
||||||
|
@ -275,9 +275,6 @@ class WaccaBase:
|
|||||||
self.data.item.put_item(
|
self.data.item.put_item(
|
||||||
req.aimeId, WaccaConstants.ITEM_TYPES["touch_effect"], 312001
|
req.aimeId, WaccaConstants.ITEM_TYPES["touch_effect"], 312001
|
||||||
) # Added reverse
|
) # Added reverse
|
||||||
self.data.item.put_item(
|
|
||||||
req.aimeId, WaccaConstants.ITEM_TYPES["touch_effect"], 312002
|
|
||||||
) # Added reverse
|
|
||||||
|
|
||||||
return UserStatusCreateResponseV2(profileId, req.username).make()
|
return UserStatusCreateResponseV2(profileId, req.username).make()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user