mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-07-26 21:16:23 +09:00
.
This commit is contained in:
@@ -75,10 +75,6 @@ end)
|
||||
|
||||
if (settings.startup['PHI-MI'].value and settings.startup['PHI-MI-GENERIC'].value) or (settings.startup['PHI-GM'].value and settings.startup['PHI-GM'].value ~= '') then
|
||||
script.on_event(defines.events.on_gui_opened, function(event)
|
||||
if not event.player_index or not game.players[event.player_index] then
|
||||
return
|
||||
end
|
||||
|
||||
local player = game.players[event.player_index]
|
||||
|
||||
if event.entity and player.opened and player.opened == event.entity then
|
||||
|
||||
Reference in New Issue
Block a user