Source code for yracing.weapon.mine.ai

from yracing.weapon.weapon.ai import WeaponAi


[docs]class MineAi(WeaponAi):
[docs] def update(self): if self.is_fired_or_before: return return self.car.ai.is_on_road