offline fix
This commit is contained in:
parent
d5a07966e8
commit
bf198e16f6
@ -114,7 +114,7 @@ export const setOnlineState = displayName => run(
|
|||||||
[ displayName ]
|
[ displayName ]
|
||||||
)
|
)
|
||||||
export const setOfflineState = displayName => run(
|
export const setOfflineState = displayName => run(
|
||||||
`INSERT OR REPLACE INTO playerData (displayName, online) VALUES (?, ?, 0)`,
|
`INSERT OR REPLACE INTO playerData (displayName, online) VALUES (?, 0)`,
|
||||||
[ displayName ]
|
[ displayName ]
|
||||||
)
|
)
|
||||||
export const getPlayersData = () => all('SELECT * FROM playerData ORDER BY online DESC, displayName ASC')
|
export const getPlayersData = () => all('SELECT * FROM playerData ORDER BY online DESC, displayName ASC')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user