Отображение всех дефолтных картинок на улицах.

This commit is contained in:
lopar
2020-10-27 02:36:29 +02:00
parent c937f7a0ba
commit 8afc50f6fc
3 changed files with 28 additions and 33 deletions
+1 -1
View File
@@ -37,6 +37,7 @@ class Travel
2111 => 'city.php',
2601 => 'city.php',
2655 => 'city.php',
2702 => 'city.php'
];
/**
@@ -64,7 +65,6 @@ class Travel
echo sprintf('<span class="error">%s</span>', $error);
}
} elseif (in_array($roomId, self::allowedRoomMoves($roomIdCurrent))) {
echo 111;
db::c()->query('UPDATE users, online SET users.room = ?i, online.room = ?i WHERE `online`.`user_id` = `users`.`id` AND `online`.`user_id` = ?i', $roomId, $roomId, $_SESSION['uid']);
header('location: ' . self::$roomFileName[$roomId]);
exit;