Save clients first
This commit is contained in:
@@ -20,12 +20,13 @@ function updateTimeRule() {
|
|||||||
|
|
||||||
function saveAllServerDataToDatabase() {
|
function saveAllServerDataToDatabase() {
|
||||||
logToConsole(LOG_DEBUG, "[Asshat.Utilities]: Saving all server data to database ...");
|
logToConsole(LOG_DEBUG, "[Asshat.Utilities]: Saving all server data to database ...");
|
||||||
|
saveAllClientsToDatabase();
|
||||||
saveAllClansToDatabase();
|
saveAllClansToDatabase();
|
||||||
saveAllHousesToDatabase();
|
saveAllHousesToDatabase();
|
||||||
saveAllBusinessesToDatabase();
|
saveAllBusinessesToDatabase();
|
||||||
saveServerConfigToDatabase(getServerConfig());
|
saveServerConfigToDatabase(getServerConfig());
|
||||||
saveAllVehiclesToDatabase();
|
saveAllVehiclesToDatabase();
|
||||||
saveAllClientsToDatabase();
|
saveAllItemsToDatabase();
|
||||||
logToConsole(LOG_DEBUG, "[Asshat.Utilities]: Saved all server data to database!");
|
logToConsole(LOG_DEBUG, "[Asshat.Utilities]: Saved all server data to database!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user