This is because the engine automatically sends changes to $_cl_name to the server.
Maybe we later want to use another cvar for menu editing of the name... sucks.
me.TD(me, 1, 3.75, box = makeXonoticInputBox(1, "_cl_name"));
box.forbiddenCharacters = "\r\n\\\"$"; // don't care, isn't getting saved
box.maxLength = -127; // negative means encoded length in bytes
- box.saveImmediately = 1;
+ box.saveImmediately = 0; // Sorry, can't do this, it spams "name" commands.
box.enableClearButton = 0;
label.textEntity = box;
me.TR(me);
me.TD(me, 1, 3.0, box = makeXonoticInputBox(1, "_cl_name"));
box.forbiddenCharacters = "\r\n\\\"$"; // don't care, isn't getting saved
box.maxLength = -127; // negative means encoded length in bytes
- box.saveImmediately = 1;
+ box.saveImmediately = 0; // Sorry, can't do this, it spams "name" commands.
box.enableClearButton = 0;
label.textEntity = box;
me.TR(me);