mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cargo - Limit text length (#8915)
This commit is contained in:
parent
0df5320879
commit
fa45e8b7cb
@ -19,6 +19,7 @@ private _display = uiNamespace getVariable QGVAR(menuDisplay);
|
||||
if (isNil "_display") exitWith {};
|
||||
|
||||
private _ctrlEditText = ctrlText 100;
|
||||
_ctrlEditText = _ctrlEditText select [0,32];
|
||||
if (_ctrlEditText isEqualTo "") then { // custom name has been removed
|
||||
[LSTRING(clearedCustomName), 3] call EFUNC(common,displayTextStructured);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user