splewis / get5

CS:GO Sourcemod plugin for competitive matches/scrims
GNU General Public License v3.0
559 stars 176 forks source link

Fix "penetrated" field type on document #1036

Closed FlowingSPDG closed 11 months ago

FlowingSPDG commented 11 months ago

Fix "penetrated" field type on player_death event.

nickdnk commented 11 months ago

Hello

penetrated is the number of objects the bullet went through. If you want to evaluate it as boolean, just check for > 0.

nickdnk commented 11 months ago

Sorry, I thought it was changed the other way around; from number to boolean. This is correct.

nickdnk commented 11 months ago

Please change it from number to integer and I will merge it.

nickdnk commented 11 months ago

Fixed with https://github.com/splewis/get5/pull/1037 as there was another instance of integer/number error on bomb timer.