line wrapping fix

This commit is contained in:
Eric Froemling 2022-06-23 12:14:56 -07:00
parent 4762f70825
commit 04f28ffacb
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98

View File

@ -1,7 +1,6 @@
# Released under the MIT License. See LICENSE for details.
#
"""Defines a bomb-dodging mini-game."""
# pylint: disable=line-too-long
# ba_meta require api 7
# (see https://ballistica.net/wiki/meta-tag-system)
@ -191,7 +190,8 @@ class MeteorShowerGame(ba.TeamGameActivity[Player, Team]):
pos = (-7.3 + 15.3 * random.random(), 11,
-5.57 + 2.1 * random.random())
dropdir = (-1.0 if pos[0] > 0 else 1.0)
vel = ((-5.0 + random.random() * 30.0) * dropdir, random.uniform(-3.066, -4.12), 0)
vel = ((-5.0 + random.random() * 30.0) * dropdir,
random.uniform(-3.066, -4.12), 0)
ba.timer(delay, ba.Call(self._drop_bomb, pos, vel))
delay += 0.1
self._set_meteor_timer()