diff options
Diffstat (limited to 'crawl-ref/source/l_dgnmon.cc')
-rw-r--r-- | crawl-ref/source/l_dgnmon.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/l_dgnmon.cc b/crawl-ref/source/l_dgnmon.cc index 7c37b6bdb0..df4e83cc46 100644 --- a/crawl-ref/source/l_dgnmon.cc +++ b/crawl-ref/source/l_dgnmon.cc @@ -49,8 +49,8 @@ static int dgn_set_random_mon_list(lua_State *ls) { // Don't complain if we're being called when the map is being loaded // and validated. - if (you.level_type != LEVEL_PORTAL_VAULT && - !(you.start_time == 0 && !you.entering_level && !Generating_Level)) + if (you.level_type != LEVEL_PORTAL_VAULT + && !(you.start_time == 0 && !you.entering_level && !Generating_Level)) { luaL_error(ls, "Can only be used in portal vaults."); return (0); |