This commit is contained in:
aozhiwei 2024-01-30 13:28:29 +08:00
parent 472218a25b
commit c80d1412af

View File

@ -165,7 +165,7 @@ void Room::Init()
}
},
&xtimer_attacher_);
if (mt::Param::s().moba_towers.size() != 2) {
if (mt::Param::s().moba_towers.size() == 2) {
xtimer.SetIntervalWpEx
(SERVER_FRAME_RATE * mt::Param::s().moba_tower_interval,
[this] (int event, const a8::Args* args)