mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 02:12:47 +00:00
empty slots stay as empty slots
This commit is contained in:
parent
727f84bc72
commit
0993b34bd0
@ -131,7 +131,8 @@ void game::start_game()
|
||||
//take control of any sides if they happen to have the same name as one of the descriptions
|
||||
config::child_itors sides = level_.child_range("side");
|
||||
for(; sides.first != sides.second; ++sides.first) {
|
||||
(**sides.first)["controller"] = "human";
|
||||
if ((**sides.first)["controller"] != "null")
|
||||
(**sides.first)["controller"] = "human";
|
||||
}
|
||||
|
||||
describe_slots();
|
||||
|
Loading…
x
Reference in New Issue
Block a user