feat.新增无人机 for 巫恋任务插件,优化部分函数调用方式

This commit is contained in:
MistEO
2022-01-10 15:03:51 +08:00
parent c94d98ada1
commit 6e5e3f0eef
22 changed files with 577 additions and 444 deletions

View File

@@ -9,7 +9,7 @@ bool asst::InfrastPowerTask::_run()
// 发电站只能造这一个
set_product("Drone");
for (int i = 0; i != max_num_of_facility(); ++i) {
for (int i = 0; i != max_num_of_facilities(); ++i) {
if (need_exit()) {
return false;
}