1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-24 03:47:58 +02:00
This commit is contained in:
danielmartin0 2022-05-09 00:36:51 +01:00
commit 8fd3c7ff67

View File

@ -110,7 +110,7 @@ local check_distance_between_player_and_locomotive = function(player)
local t_y = gap_between_locomotive.highest_pos.y
if c_y - t_y <= gap_between_locomotive.neg_gap then
player.teleport({position.x, locomotive.position.y + gap_between_locomotive.neg_gap}, surface)
player.teleport({position.x, locomotive.position.y + gap_between_locomotive.neg_gap + 2}, surface)
player.print(({'breached_wall.hinder'}), Color.warning)
if player.character then
player.character.health = player.character.health - 5