mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2024-12-30 23:17:53 +02:00
10 lines
482 B
Lua
10 lines
482 B
Lua
local Event = require 'utils.event'
|
|
|
|
local function on_player_joined_game()
|
|
game.permissions.get_group('Default').set_allows_action(defines.input_action.grab_blueprint_record, false)
|
|
game.permissions.get_group('Default').set_allows_action(defines.input_action.import_blueprint_string, false)
|
|
game.permissions.get_group('Default').set_allows_action(defines.input_action.import_blueprint, false)
|
|
end
|
|
|
|
Event.add(defines.events.on_player_joined_game, on_player_joined_game)
|