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

Fix DoDrop to DropNextTo in container cases #30911

Merged

Conversation

TokenStyle
Copy link
Contributor

About the PR

Fix issue #30261 that's points to PR #30223 .
DoDrop heavy to calculate (hands positions, mouse positions, moving, raises moveevents and so on).
Implemented that if player's in container then DropNextTo used, that's much faster and without redundunt actions.
As much as possible, we should avoid using DoDrop.

Technical details

Uses DropNextTo for drop logic if action's have been in container.

Media

Requirements

  • I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

no cl, just sped

DoDrop is too heavy to calculation. In any other case we should use alternatives, for example DropNextTo helper method
@EmoGarbage404 EmoGarbage404 merged commit d4c0155 into space-wizards:master Aug 12, 2024
11 checks passed
formlessnameless pushed a commit to formlessnameless/imp-station-14 that referenced this pull request Aug 14, 2024
* Fix DoDrop to DropNextTo in container cases
DoDrop is too heavy to calculation. In any other case we should use alternatives, for example DropNextTo helper method

* codestyle change
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.

2 participants