id incrementing typo fix

This commit is contained in:
Jill 2023-01-03 15:47:58 +03:00
parent daa1e74533
commit 7da5bbf575

View file

@ -12,7 +12,7 @@ module CrystalGauntlet::IDs
next_id next_id
else else
next_id = id + 1 next_id = id + 1
DATABASE.exec("update next_id set id = ?", next_id) DATABASE.exec("update next_id set id = ? where name = ?", next_id, key)
return next_id return next_id
end end
end end