Fixed Warps

This commit is contained in:
Cooldude2606
2018-10-14 18:46:48 +01:00
parent ad94a41702
commit 0d12bbfb56

View File

@@ -240,7 +240,7 @@ script.on_event(defines.events.on_player_created, function(event)
text='Warp: Spawn',
icon={type='item',name=warp_item}
})
global.warps['Spawn'] = {tag=tag,surface=player.surface,position={0,0}}
global.warps['Spawn'] = {tag=tag,surface=player.surface.index,position={0,0}}
end
end)