1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-13 13:49:33 +02:00

Merge branch 'develop' into develop

This commit is contained in:
Gerkiz 2022-05-08 23:24:58 +02:00 committed by GitHub
commit 8b0b437a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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