Commit d90a43c0 authored by Ktulho's avatar Ktulho 👶🏻

damageLog: fix display of fire

parent 59aeeaa9
Pipeline #204104128 passed with stages
in 2 minutes and 39 seconds
......@@ -1067,7 +1067,7 @@ def Vehicle_updateStunInfo(self):
@registerEvent(DamagePanelMeta, 'as_setFireInVehicleS')
def DamagePanelMeta_as_setFireInVehicleS(self, isInFire):
global on_fire
if isShowDamageLog:
if isShowDamageLog and data.data['isAlive']:
on_fire = 100 if isInFire else 0
as_event(EVENTS_NAMES.ON_FIRE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment