Skip to content

Commit

Permalink
Merge pull request Refactorio#978 from grilledham/diggy-fix_require
Browse files Browse the repository at this point in the history
Fix require for Popup.player
  • Loading branch information
grilledham authored Sep 8, 2019
2 parents fc1d1af + def7d53 commit ef89b1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion map_gen/maps/diggy/feature/diggy_cave_collapse.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'}
)
Expand Down

0 comments on commit ef89b1f

Please sign in to comment.