Skip to content

Conversation

@bloodycop6385
Copy link

No description provided.

Copilot AI review requested due to automatic review settings December 19, 2025 13:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors the lvs_helicopter_rotor.lua entity to use Entity:GetTable() for storing the RotorWashEnt reference instead of direct assignment to self. This change aligns with the codebase's established pattern of using GetTable() for entity data storage, improving performance by reducing table lookups through the metatable chain.

  • Replaced self.RotorWashEnt with EntTable.RotorWashEnt in both CreateRotorWash() and DeleteRotorWash() functions
  • Added local EntTable = self:GetTable() at the beginning of these functions to cache the entity table reference
  • Cleaned up trailing whitespace throughout the modified sections

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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