1
0
Fork 0

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:
mfranz 2006-04-16 22:05:59 +00:00
parent e54c43581d
commit 21f0a726e6

View file

@ -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";