removed hotkey

This commit is contained in:
monica
2023-01-07 17:22:21 -05:00
committed by Monica Moniot
parent e7446e11c1
commit 2e0216a351
4 changed files with 7 additions and 16 deletions

View File

@@ -1,4 +1,10 @@
---------------------------------------------------------------------------------------------------
Version: 1.2.9
Date: 2022-1-7
Bugfixes:
- Fixed a bug with deliveries sometimes failing to be removed
- Updated flib dependency to the correct version
---------------------------------------------------------------------------------------------------
Version: 1.2.8
Date: 2022-1-5
Features:

View File

@@ -20,11 +20,5 @@ data:extend({
locked_slots_signal,
missing_train_icon,
lost_train_icon,
nonempty_train_icon,
{
type = "custom-input",
name = "cybersyn-toggle-planner",
key_sequence = "",
consuming = "game-only"
}
nonempty_train_icon
})

View File

@@ -28,9 +28,6 @@ cybersyn-stuck-train-time=After this many seconds from a train's dispatch, an al
cybersyn-allow-cargo-in-depot=If checked, trains will be allowed to have cargo in depots; no alerts will be generated and the train will not be held. In addition, trains with orders to visit requester stations with "Inactivity condition" checked will wait for inactivity instead of waiting for empty cargo. Useful for creating train systems where depots handle excess cargo. For advanced users only.
cybersyn-invert-sign=Flip the sign of the output of cybernetic combinators to be the same as it is in LTN or in earlier versions of Project Cybersyn.
[controls]
cybersyn-toggle-planner=Toggle central planner
[item-name]
cybersyn-combinator=Cybernetic combinator

View File

@@ -865,12 +865,6 @@ local function main()
script.on_nth_tick(nil)
end
script.on_event("cybersyn-toggle-planner", function(event)
local setting = settings.global["cybersyn-enable-planner"]
setting.value = not setting.value
settings.global["cybersyn-enable-planner"] = setting
end)
script.on_init(function()
local setting = settings.global["cybersyn-invert-sign"]
setting.value = false