From a28504fce050c8967b092759f1374d22c7a7ec0e Mon Sep 17 00:00:00 2001 From: gumi Date: Mon, 30 Jul 2018 12:48:21 -0400 Subject: Revert "temporary fix for getd (#2163)" This reverts commit 6696ad9eed9b95bf8abe135801d1fad03aeb40e6. --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 846075c0e..6c09bc6c9 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -17800,7 +17800,7 @@ static BUILDIN(getd) id = script->search_str(varname); - if (id < 0 || script->str_data[id].type == C_NOP) { + if (id < 0) { id = script->add_str(varname); script->str_data[id].type = C_NAME; } else if (script->str_data[id].type != C_NAME) { -- cgit v1.2.3-60-g2f50