Force loaded cart data to have uuid the same as in the mod storage key

This commit is contained in:
teknomunk 2025-01-26 12:12:38 -06:00 committed by the-real-herowl
parent ae0a654d96
commit 17db7c2d7e

View file

@ -24,6 +24,7 @@ local function get_cart_data(uuid)
if data.distance == -0/0 then data.distance = 0 end
data.dir = vector.new(data.dir)
data.connected_at = vector.new(data.connected_at)
data.uuid = uuid
end
cart_data[uuid] = data