mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 17:04:38 +00:00
remove check for "human_ai"
"human_ai" doesnt exist anymore so we can remove this check.
This commit is contained in:
parent
7fafcd8086
commit
a6237a1096
@ -852,8 +852,7 @@ side_engine::side_engine(const config& cfg, connect_engine& parent_engine,
|
||||
update_controller_options();
|
||||
|
||||
// Tweak the controllers.
|
||||
if (cfg_["controller"] == "human_ai" ||
|
||||
cfg_["controller"] == "network_ai" ||
|
||||
if (cfg_["controller"] == "network_ai" ||
|
||||
(parent_.state_.classification().campaign_type == game_classification::SCENARIO && cfg_["controller"].blank()))
|
||||
{
|
||||
cfg_["controller"] = "ai";
|
||||
|
Loading…
x
Reference in New Issue
Block a user