1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

fix require for Popup.player

This commit is contained in:
grilledham 2019-09-08 13:18:50 +01:00
parent fc1d1af9d8
commit def7d53da2

View File

@ -11,6 +11,7 @@ local Token = require 'utils.token'
local Global = require 'utils.global'
local CreateParticles = require 'features.create_particles'
local RS = require 'map_gen.shared.redmew_surface'
local Popup = require 'features.gui.popup'
local table = require 'utils.table'
local random = math.random
local floor = math.floor
@ -419,7 +420,7 @@ function DiggyCaveCollapse.register(cfg)
end
if (nil ~= support_beam_entities[event.entity.name]) then
require 'features.gui.popup'.player(
Popup.player(
game.get_player(player_index),
{'diggy.cave_collapse_warning'}
)