diff --git a/server/gameserver/roomobstacle.cc b/server/gameserver/roomobstacle.cc index c5ef5649..6d29ace3 100644 --- a/server/gameserver/roomobstacle.cc +++ b/server/gameserver/roomobstacle.cc @@ -865,8 +865,8 @@ void RoomObstacle::ActiveMedicalStation() room->grid_service->GetAllCellsByXy(room, GetPos().x, GetPos().y, *grid_list_); } - if (meta->i->width() > 0 && meta->int_param1 > 0) { - room->xtimer.AddDeadLineTimerAndAttach + if (meta->i->width() > 0 && meta->int_param2 > 0) { + room->xtimer.AddRepeatTimerAndAttach ( meta->int_param1 / FRAME_RATE_MS, a8::XParams()