mdb: don't list carnival bonus sparks to exclude them

This commit is contained in:
2026-06-02 13:38:50 -04:00
parent feba6ddc3d
commit f7d4712578
2 changed files with 8 additions and 1 deletions
+2
View File
@@ -26,6 +26,7 @@ func Sparks(ctx context.Context, db *sqlitex.Pool) ([]horse.Spark, error) {
var sp []horse.Spark
{
stmt := conn.Prep(sparkSQL)
defer stmt.Reset()
for {
ok, err := stmt.Step()
if err != nil {
@@ -49,6 +50,7 @@ func Sparks(ctx context.Context, db *sqlitex.Pool) ([]horse.Spark, error) {
}
}
stmt := conn.Prep(sparkEffectSQL)
defer stmt.Reset()
cur := sp
last := 0
for {