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

Update fluids.lua #3501

Merged
merged 1 commit into from Jul 17, 2021
Merged

Update fluids.lua #3501

merged 1 commit into from Jul 17, 2021

Conversation

Sundance
Copy link
Contributor

Pull Request Prelude

  • I have followed [proper The Forgotten Server code styling][code].
  • I have read and understood the [contribution guidelines][cont] before making this PR.
  • I am aware that this PR may be closed if the above-mentioned criteria are not fulfilled.

Changes Proposed

change order between 2 lines of code

Issue addressed

Using an empty fluid container on a filled container would make them both empty containers.
The script should copy the fluid type from the target container before transforming the target container to en empty one.
It was doing the reverse: transforming an empty one, then copying no fluid type

Using an empty fluid container on a filled container would make them both empty containers.
The script should copy the fluid type from the target container before transforming the target container to en empty one.
It was doing the reverse: transforming en empty one, then copying no fluid type
@EPuncker EPuncker merged commit e2ae1b5 into otland:master Jul 17, 2021
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

3 participants