Setup/Misc

* squash some more php warnings during setup
 * automaticly sync if required by updates
This commit is contained in:
Sarjuuk
2022-02-28 21:01:07 +01:00
parent 8431329645
commit 366f68f24f
7 changed files with 19 additions and 14 deletions

View File

@@ -230,9 +230,9 @@ SqlGen::register(new class extends SetupScript
$row['bonusParsed'] = serialize($gains);
foreach (array_column($spells, 0) as $idx => $spellId)
$row['spell'.$idx+1] = $spellId;
$row['spell'.($idx+1)] = $spellId;
foreach (array_column($spells, 1) as $idx => $nItems)
$row['bonus'.$idx+1] = $nItems;
$row['bonus'.($idx+1)] = $nItems;
/**************************/