mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Handle missing logistic requester point (#731)
This commit is contained in:
1 parent
fa1338ddd4
commit
97e25eb885
1 file changed
+3
@@ -78,6 +78,9 @@ end
|
||||
function serialize.serialize_personal_logistic_slots(player)
|
||||
if v2_logistic_api then
|
||||
local logistic_point = player.get_requester_point()
|
||||
if logistic_point == nil then
|
||||
return nil
|
||||
end
|
||||
local serialized = {
|
||||
enabled = logistic_point.enabled,
|
||||
trash_not_requested = logistic_point.trash_not_requested,
|
||||
|
||||
Reference in new issue
Block a user