Use util to properly clear arrays

This commit is contained in:
Vortrex
2021-11-30 21:51:41 -06:00
parent 07a95f1560
commit 2e3b367a5f
3 changed files with 3 additions and 3 deletions

View File

@@ -1450,7 +1450,7 @@ function reloadAllBusinessesCommand(command, params, client) {
}
//forceAllPlayersToStopWorking();
getServerData().businesses = null;
clearArray(getServerData().businesses);
getServerData().businesses = loadBusinessesFromDatabase();
createAllBusinessPickups();
createAllBusinessBlips();