Core/Housing: stage 28 synchronize Initiative session persistence
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Housing
|
|||||||
|
|
||||||
void EnsureInitiativePersistence(HouseState const& house)
|
void EnsureInitiativePersistence(HouseState const& house)
|
||||||
{
|
{
|
||||||
CharacterDatabase.PExecute(
|
CharacterDatabase.DirectPExecute(
|
||||||
"INSERT INTO housing_neighborhood_initiative "
|
"INSERT INTO housing_neighborhood_initiative "
|
||||||
"(NeighborhoodGuid, InitiativeID, State, Progress, RewardTier, StartedAt, EndsAt) "
|
"(NeighborhoodGuid, InitiativeID, State, Progress, RewardTier, StartedAt, EndsAt) "
|
||||||
"VALUES ('{}', 0, 0, 0, 0, NULL, NULL) "
|
"VALUES ('{}', 0, 0, 0, 0, NULL, NULL) "
|
||||||
|
|||||||
Reference in New Issue
Block a user