Fixed Doc Issues

This commit is contained in:
Cooldude2606
2020-05-30 01:55:15 +01:00
parent 2dacbe9edd
commit 0af93b9bb5
2 changed files with 5 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ end)
--- When player data loads tell the player if the load had failed previously
PlayerData:on_load(function(player_name, player_data)
if not player_data or not player_data.valid then return end
if not player_data or player_data.valid == false then return end
local existing_data = PlayerData:get(player_name)
if existing_data and existing_data.valid == false then
game.players[player_name].print{'expcore-data.data-restore'}