summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script-fun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index 637f893..6b9f9a7 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -3949,7 +3949,7 @@ void builtin_get(ScriptState *st)
}
else
{
- int var;
+ int var = 0;
if (prefix == '#' && bl)
{
if (name_.startswith("##"_s))