Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AdjustDungeon to teleports via magic #1905

Merged
merged 2 commits into from
May 18, 2019

Conversation

LtRipley36706
Copy link
Member

No description provided.

portalRecall.AddAction(targetPlayer, () =>
{
var teleportDest = new Position(portal.Destination);
targetPlayer.AdjustDungeon(teleportDest);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be done in .Teleport(), instead of having all of these calls to it?

i seem to remember .AdjustDungeon() being done in Teleport originally, but im not sure why that was removed...

@LtRipley36706 LtRipley36706 merged commit 3b6ef36 into ACEmulator:master May 18, 2019
@LtRipley36706 LtRipley36706 deleted the recallfix branch May 20, 2019 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants