Update bomb_radius_visualizer.py

This commit is contained in:
TheMikirog 2022-11-13 20:45:31 +01:00 committed by GitHub
parent 1884d9d6de
commit fbf3e373bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,10 @@
With this cutting edge technology, you precisely know
how close to the bomb you can tread. Supports modified blast radius values!
Heavily commented for easy modding learning!
No Rights Reserved
"""
from __future__ import annotations
@ -82,4 +86,4 @@ class BombRadiusVisualizer(ba.Plugin):
# Finally we """travel through the game files""" to replace the function we want with our own version.
# We transplant the old function's arguments into our version.
bastd.actor.bomb.Bomb.__init__ = new_bomb_init(bastd.actor.bomb.Bomb.__init__)