1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-09-16 09:06:21 +02:00

Make scenario compatible with Factorio Mod Debug

This commit is contained in:
Gerkiz
2022-07-17 23:06:48 +02:00
parent 6ce0942f82
commit 1f03bcec9e
2 changed files with 2 additions and 1 deletions

1
info.json Normal file
View File

@@ -0,0 +1 @@
{}

View File

@@ -1,4 +1,3 @@
local Modifiers = require 'utils.player_modifiers'
local Collapse = require 'modules.collapse'
local Balance = require 'maps.mountain_fortress_v3.balance'
local RPG = require 'modules.rpg.main'
@@ -308,6 +307,7 @@ local function on_player_changed_position(event)
distance(player)
end
local function on_player_driving_changed_state(event)
local player = game.players[event.player_index]
if not (player and player.valid) then