Отображение всех дефолтных картинок на улицах.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user