fix player index loading + small service config change
This commit is contained in:
parent
7ca3cfca6e
commit
9c29c27aa8
@ -982,6 +982,7 @@ bool GetCharacterIndexEntries(int WorldID, int MinimumCharacterID,
|
|||||||
StringCopy(Entries[EntryIndex].Name,
|
StringCopy(Entries[EntryIndex].Name,
|
||||||
sizeof(Entries[EntryIndex].Name),
|
sizeof(Entries[EntryIndex].Name),
|
||||||
(const char*)sqlite3_column_text(Stmt, 1));
|
(const char*)sqlite3_column_text(Stmt, 1));
|
||||||
|
EntryIndex += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sqlite3_errcode(g_Database) != SQLITE_DONE){
|
if(sqlite3_errcode(g_Database) != SQLITE_DONE){
|
||||||
|
|||||||
@ -3,6 +3,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Tibia Query Manager
|
Description=Tibia Query Manager
|
||||||
After=network.target
|
After=network.target
|
||||||
|
# Make sure we attempt to start services depending on the querymanager
|
||||||
|
# if we use start/stop instead of restart. It seems there is no way to
|
||||||
|
# automate this, although it would be desirable.
|
||||||
|
Wants=tibia-login.service tibia-game.service tibia-web.service
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user