Closed GoldJohnKing closed 2 years ago
https://github.com/acemod/ACE3/blob/af86109c2b3c9ec05d134561cf99691b84c832ff/addons/nametags/functions/fnc_drawNameTagIcon.sqf#L37-L46
I am not entirely sure but if _icon
is nil and rank _target != ""
is false then _icon
will be nil
when called by drawIcon3D
later. This may trigger the error Error type any,string expected
A simple fix would be: https://github.com/acemod/ACE3/pull/8764/files
~I may try to test it next year~ Today
Mods (complete and add to the following information):
2.06
[e.g. 1.00 stable, rc, dev]3.15.6
[e.g. 3.0.0 stable, commit hash]3.14.1
[eg. 3.0.0 stable, commit hash]Description: After recent update (I believe it should be since 3.14.0), I got this error when player disconnect / lose connection / return to lobby, if the player's nametag can be seen by me (in draw range).
Steps to reproduce: _Follow [https://ace3mod.com/img/wiki/user/issue_flowchart.png](this flowchart)!_
Expected behavior: The error should not happen. I believe I do not have the issue before ace 3.14.0 version.
Where did the issue occur?
Log Files: