Commit 27fb3d1
authored
Update current.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 519c9dc commit 27fb3d1
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | | - | |
| 89 | + | |
0 commit comments