Update scene.ts
This commit is contained in:
parent
5c6ae768b8
commit
1d5d7c1f40
@ -37,7 +37,7 @@ export default async function handle(command: Command) {
|
|||||||
const lineup = await Interface.target.player.getLineup();
|
const lineup = await Interface.target.player.getLineup();
|
||||||
const curAvatarEntity = new ActorEntity(Interface.target.player.scene, lineup.leaderSlot, posData.pos);
|
const curAvatarEntity = new ActorEntity(Interface.target.player.scene, lineup.leaderSlot, posData.pos);
|
||||||
|
|
||||||
const allowedScenes = ['Train','Town','Maze']
|
const allowedScenes = ['Train','Town','Maze'] //Scenes that won't break when you relog
|
||||||
// Update scene information on player.
|
// Update scene information on player.
|
||||||
if(allowedScenes.includes(planeData.PlaneType)){
|
if(allowedScenes.includes(planeData.PlaneType)){
|
||||||
Interface.target.player.db.posData.planeID = planeData.PlaneID;
|
Interface.target.player.db.posData.planeID = planeData.PlaneID;
|
||||||
|
Loading…
Reference in New Issue
Block a user