diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp index f311c3e..3bbda58 100644 --- a/src/map/atcommand.cpp +++ b/src/map/atcommand.cpp @@ -671,7 +671,7 @@ ATCE atcommand_goto(Session *s, dumb_ptr<map_session_data> sd, } dumb_ptr<map_session_data> pl_sd = map_nick2sd(character); - if (pl_sd != nullptr) + if (pl_sd != nullptr && pc_isGM(sd).detects(pc_isGM(pl_sd))) { if (pl_sd->bl_m->flag.get(MapFlag::NOWARPTO) && !(pc_isGM(sd).satisfies(battle_config.any_warp_GM_min_level))) |