| changeset 519 | 1a319bb1ff48 |
| parent 518 | 52810a1a9620 |
| child 520 | 7676d61cde2d |
1.1 --- a/core/smn_console.cpp Sat Feb 17 17:25:50 2007 +0000 1.2 +++ b/core/smn_console.cpp Sat Feb 17 17:35:09 2007 +0000 1.3 @@ -446,6 +446,12 @@ 1.4 { 1.5 return pCtx->ThrowNativeError("Client %d is not in game", index); 1.6 } 1.7 + 1.8 + /* Silent fail on bots, engine will crash */ 1.9 + if (pPlayer->IsFakeClient()) 1.10 + { 1.11 + return 0; 1.12 + } 1.13 1.14 char buffer[1024]; 1.15 char *fmt;