Spaces:
Paused
Paused
Update bot.js
Browse files
bot.js
CHANGED
|
@@ -348,7 +348,7 @@ const checkAndStartViewer = (req, res, next) => {
|
|
| 348 |
}
|
| 349 |
|
| 350 |
// Güvenlik Kontrolü: Bot tanımlı mı ve soketi aktif mi?
|
| 351 |
-
const isBotReady = bot && bot.
|
| 352 |
|
| 353 |
if (!viewerInstance && isBotReady) {
|
| 354 |
try {
|
|
|
|
| 348 |
}
|
| 349 |
|
| 350 |
// Güvenlik Kontrolü: Bot tanımlı mı ve soketi aktif mi?
|
| 351 |
+
const isBotReady = bot && bot.player && bot.spawned;
|
| 352 |
|
| 353 |
if (!viewerInstance && isBotReady) {
|
| 354 |
try {
|