mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Merge branch 'main' into aperx
This commit is contained in:
@@ -280,7 +280,7 @@ local default = Roles.new_role("Guest", "")
|
||||
"command/data-preference",
|
||||
"command/connect",
|
||||
"gui/player-list",
|
||||
"gui/rocket-info",
|
||||
--"gui/rocket-info",
|
||||
"gui/science-info",
|
||||
"gui/task-list",
|
||||
"gui/warp-list",
|
||||
|
||||
@@ -142,7 +142,7 @@ group:set_action('toggle_map_editor', false)
|
||||
|
||||
]]
|
||||
function PermissionsGroups._prototype:set_action(action, state)
|
||||
local input_action = defines.input_action[action]
|
||||
local input_action = defines.input_action[action] --[[ @as defines.input_action? ]]
|
||||
if input_action == nil then input_action = action end
|
||||
assert(type(input_action) == "number", tostring(action) .. " is not a valid input action")
|
||||
self.actions[input_action] = state
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
"@clusterio/lib": "^2.0.0-alpha.19"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.5.3",
|
||||
"@clusterio/lib": "2.0.0-alpha.20",
|
||||
"@types/node": "^20.4.5",
|
||||
"@clusterio/lib": "^2.0.0-alpha.20"
|
||||
"typescript": "^5.5.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@expcluster/lib_commands": "workspace:*",
|
||||
|
||||
Reference in New Issue
Block a user