Commit 519c9dc
authored
Update l4d2_tankrage.sp
current check sometimes returns a null nav area
example: c1m1_hotel, teleport to the position "300 5683 2893"
the current flow displayed by the plugin outputs "14%" because the "flow" variable is 0, because no nav (pNavArea) was found
using "L4D_GetLastKnownArea" is more accurate since it outputs the same value as the "current_flow_distance" game command1 parent f99907d commit 519c9dc
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
| 179 | + | |
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
| |||
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
229 | | - | |
| 228 | + | |
0 commit comments