fixed attempt to index a number value error
This commit is contained in:
parent
7d031eac96
commit
3dcf3eb8a1
|
@ -131,7 +131,7 @@ function et_InitGame(levelTime, randomSeed, restart)
|
|||
)
|
||||
]])
|
||||
|
||||
cur = assert (con:execute("SELECT COUNT(*) FROM users"))
|
||||
cur = assert (con:execute(string.format("SELECT COUNT(*) FROM users")))
|
||||
|
||||
et.G_Print("XP Save: there are " .. tonumber(cur:fetch(row, 'a')) .. " users in the database\n")
|
||||
|
||||
|
|
Loading…
Reference in New Issue