diff options
Diffstat (limited to 'src/script/api/script_sign.cpp')
-rw-r--r-- | src/script/api/script_sign.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_sign.cpp b/src/script/api/script_sign.cpp index 051fb983d..ab7988cc1 100644 --- a/src/script/api/script_sign.cpp +++ b/src/script/api/script_sign.cpp @@ -24,7 +24,7 @@ /* static */ bool ScriptSign::IsValidSign(SignID sign_id) { const Sign *si = ::Sign::GetIfValid(sign_id); - return si != NULL && si->owner == _current_company; + return si != NULL && (si->owner == _current_company || si->owner == OWNER_DEITY); } /* static */ bool ScriptSign::SetName(SignID sign_id, const char *name) |