Advertisement
deutscher_Adler

WOT_Autoextinguisher

Jun 14th, 2015
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. import BigWorld
  2. from functools import partial
  3. from gui.Scaleform.Battle import DamagePanel
  4. from gui.battle_control import g_sessionProvider
  5.  
  6. def __setFireInVehicle(self, bool):
  7.     old_setFireInVehicle(self, bool)
  8.     BigWorld.callback(0.01, partial(g_sessionProvider.getEquipmentsCtrl().changeSettingByTag, 'extinguisher', None, BigWorld.player()))
  9.  
  10. old_setFireInVehicle = DamagePanel._setFireInVehicle
  11. DamagePanel._setFireInVehicle = __setFireInVehicle
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement