mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
AI-only battles shouldn't be usable before loading a game
This commit is contained in:
@@ -100,6 +100,7 @@ MenuHandlers.add(:debug_menu, :test_auto_battle, {
|
||||
"name" => _INTL("Test Auto Battle"),
|
||||
"parent" => :main,
|
||||
"description" => _INTL("Runs an AI-controlled battle with no visuals."),
|
||||
"always_show" => false,
|
||||
"effect" => proc {
|
||||
debug_test_auto_battle
|
||||
}
|
||||
@@ -109,6 +110,7 @@ MenuHandlers.add(:debug_menu, :test_auto_battle_logging, {
|
||||
"name" => _INTL("Test Auto Battle with Logging"),
|
||||
"parent" => :main,
|
||||
"description" => _INTL("Runs an AI-controlled battle with no visuals. Logs messages."),
|
||||
"always_show" => false,
|
||||
"effect" => proc {
|
||||
debug_test_auto_battle(true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user