Skip to content

Conversation

@virustotalop
Copy link

  • Fixes the action list getting mangled when interacting with the base NPC or copied NPC

📋 Description

Please include a summary of the changes and the related issue(s).
What is this PR solving? Why is it needed?

✅ Checklist

  • My code follows the project's coding style and guidelines
  • I have tested my changes locally and they work as expected
  • I have added necessary documentation (if applicable)
  • I have linked related issues using Fixes #issue_number or Closes #issue_number
  • I have rebased/merged with the latest main branch

🔍 Changes

Please provide a brief summary of the changes made in this PR.

  • Updated: N/A
  • Refactored : N/A
  • Fixed: When an NPC is copied the action list doesn't get copied so when a change is made to either NPC after the copy the actions get set on both NPCs. This behavior doesn't happen after reboot since then the data will be added correctly.

🧪 How to Test

Please describe how to manually test the changes made in this PR.

  1. Create a new NPC
  2. Set an action on that NPC
  3. Copy that NPC
  4. Set an action on either NPC
  5. Each NPC will have the same actions

* Fixes the action list getting mangled when interacting with the base NPC or copied NPC
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.

1 participant