diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/script.c b/src/map/script.c index 2786f082b..4cc7f36a2 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -3900,11 +3900,6 @@ BUILDIN_FUNC(return) if( name[0] == '.' && name[1] == '@' ) {// temporary script variable, convert to value get_val(st, data); - if( data_isstring(data) ) - {// duplicate the string - data->type = C_STR; - data->u.str = aStrdup(data->u.str); - } } else if( name[0] == '.' && !data->ref ) {// script variable, link to current script |