don't convert spaces to underscores for signs. It happens much to often
that they are added unintentionally -> just drop them
This commit is contained in:
parent
e54c43581d
commit
21f0a726e6
1 changed files with 3 additions and 1 deletions
|
@ -419,7 +419,9 @@ Model = {
|
|||
var legend = me.legend != "" ? me.legend :
|
||||
"{@size=10,@material=RedSign}NO_CONTENTS_" ~ int(10000 * rand());
|
||||
foreach (var c; split('', legend)) {
|
||||
spec ~= c == ' ' ? '_' : c;
|
||||
if (c != ' ') {
|
||||
spec ~= c;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
type = "OBJECT_SHARED";
|
||||
|
|
Loading…
Add table
Reference in a new issue