Change initial scene due to v3 client uepdate
This commit is contained in:
parent
4bd91c5a2f
commit
f02f6297e3
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ pub fn onLeaveChallenge(session: *Session, _: *const Packet, allocator: Allocato
|
|||
var lineup_mgr = LineupManager.init(allocator);
|
||||
const lineup = try lineup_mgr.createLineup();
|
||||
var scene_manager = SceneManager.init(allocator);
|
||||
const scene_info = try scene_manager.createScene(20432, 20432001, 2043201, 1213);
|
||||
const scene_info = try scene_manager.createScene(20422, 20422001, 2042201, 1025);
|
||||
try session.send(CmdID.CmdQuitBattleScNotify, protocol.QuitBattleScNotify{});
|
||||
try session.send(CmdID.CmdEnterSceneByServerScNotify, protocol.EnterSceneByServerScNotify{
|
||||
.reason = protocol.EnterSceneReason.ENTER_SCENE_REASON_NONE,
|
||||
|
|
|
@ -16,7 +16,7 @@ const log = std.log.scoped(.scene_service);
|
|||
|
||||
pub fn onGetCurSceneInfo(session: *Session, _: *const Packet, allocator: Allocator) !void {
|
||||
var scene_manager = SceneManager.init(allocator);
|
||||
const scene_info = try scene_manager.createScene(20432, 20432001, 2043201, 1213);
|
||||
const scene_info = try scene_manager.createScene(20422, 20422001, 2042201, 1025);
|
||||
try session.send(CmdID.CmdGetCurSceneInfoScRsp, protocol.GetCurSceneInfoScRsp{
|
||||
.scene = scene_info,
|
||||
.retcode = 0,
|
||||
|
|
Loading…
Reference in a new issue