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:
parent
fc1d1af9d8
commit
def7d53da2
@ -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'}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user