diff options
Diffstat (limited to 'src/map/script-call.cpp')
-rw-r--r-- | src/map/script-call.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script-call.cpp b/src/map/script-call.cpp index 212e0e3..abab24d 100644 --- a/src/map/script-call.cpp +++ b/src/map/script-call.cpp @@ -108,7 +108,7 @@ void get_val(dumb_ptr<map_session_data> sd, struct script_data *data) else if (prefix == '$') { Option<P<RString>> s_ = mapregstr_db.search(u.reg); - if OPTION_IS_SOME(s, s_) + if OPTION_IS_SOME_NOLOOP(s, s_) str = *s; } else |