EquipmentElement.Incendiary is hardcoded as an argument to the base class of FireEventArgs, so NadeType is always incendiary. weapons[entityid] doesn't map to the right weapon so we can't use that to determine the type and of course these events have no player coded for them so simply looking at the team of whomever threw it won't work either. Not really sure how to fix this.
EquipmentElement.Incendiary
is hardcoded as an argument to the base class ofFireEventArgs
, soNadeType
is always incendiary.weapons[entityid]
doesn't map to the right weapon so we can't use that to determine the type and of course these events have no player coded for them so simply looking at the team of whomever threw it won't work either. Not really sure how to fix this.