Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import BigWorld
- from functools import partial
- from gui.Scaleform.Battle import DamagePanel
- from gui.battle_control import g_sessionProvider
- def __setFireInVehicle(self, bool):
- old_setFireInVehicle(self, bool)
- BigWorld.callback(0.01, partial(g_sessionProvider.getEquipmentsCtrl().changeSettingByTag, 'extinguisher', None, BigWorld.player()))
- old_setFireInVehicle = DamagePanel._setFireInVehicle
- DamagePanel._setFireInVehicle = __setFireInVehicle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement