fix(server/main): Define default values for loadout and weight

This commit is contained in:
Linden
2021-06-23 23:38:09 +10:00
committed by GitHub
parent f66222f178
commit a3d611e584
+2
View File
@@ -126,7 +126,9 @@ function loadESXPlayer(identifier, playerId, isNew)
accounts = {},
inventory = {},
job = {},
loadout = {},
playerName = GetPlayerName(playerId),
weight = 0
}
table.insert(tasks, function(cb)