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 UI-Scoped method to Respirator Service, convert loops to foreach #209

Merged
merged 2 commits into from
Aug 25, 2023

Conversation

UndeadZeratul
Copy link
Member

Forgot I had the foreach conversion in the loot tables script, shouldn't change anything except syntax and condense things.

The Respirator Service method is for things in the UI scope to be able to check if the respirator is active, such as drawing stuff to the HUD. I'm sure it could be refactored if desired, but there's not much there, so for now I simply copied it. Initial testing seems to work fine.

@caligari87 caligari87 merged commit fce32da into HDest-Community:master Aug 25, 2023
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