summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 9e909cadb..b70ff9634 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -2114,7 +2114,7 @@ int get_val(struct script_state* st, struct script_data* data)
postfix = name[strlen(name) - 1];
//##TODO use reference_tovariable(data) when it's confirmed that it works [FlavioJS]
- if( !reference_toconstant(data) && !reference_toparam(data) && not_server_variable(prefix) )
+ if( !reference_toconstant(data) && not_server_variable(prefix) )
{
sd = script_rid2sd(st);
if( sd == NULL )