1.1 --- a/core/PlayerManager.cpp Mon Oct 26 23:44:57 2009 -0700
1.2 +++ b/core/PlayerManager.cpp Mon Oct 26 23:51:39 2009 -0700
1.3 @@ -741,9 +741,12 @@
1.4 }
1.5
1.6 cell_t res2 = Pl_Continue;
1.7 - m_clcommand->PushCell(client);
1.8 - m_clcommand->PushCell(argcount);
1.9 - m_clcommand->Execute(&res2, NULL);
1.10 + if (pPlayer->IsInGame())
1.11 + {
1.12 + m_clcommand->PushCell(client);
1.13 + m_clcommand->PushCell(argcount);
1.14 + m_clcommand->Execute(&res2, NULL);
1.15 + }
1.16
1.17 if (res2 > res)
1.18 {