1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-03-17 20:58:13 +02:00

fix weird issue

This commit is contained in:
Gerkiz 2021-01-04 13:59:33 +01:00
parent db337754cb
commit e1080f4c75

View File

@ -48,6 +48,10 @@ function Public.init_player_table(player, reset)
}
end
if not this.score_table[player.force.name] then
this.score_table[player.force.name] = {}
end
if not this.score_table[player.force.name].players then
this.score_table[player.force.name].players = {}
end