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 syntax error in Holoemitters #2469

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

brandonsturgeon
Copy link
Contributor

@brandonsturgeon brandonsturgeon commented Nov 1, 2022

Looks like some brave soul went through and removed all Garry Operators, but accidentally left a syntax error behind.

addons/wire/lua/entities/gmod_wire_holoemitter.lua:260: '=' expected near '~='

This should clear it up. The diff against the original line (pre-refactor):

- if (self.bools[name]) then value = !(value == 0 and true) or false end
+ if (self.bools[name]) then value = value ~= 0 end

Thanks

@Vurv78 Vurv78 merged commit 66f643d into wiremod:master Nov 1, 2022
@brandonsturgeon brandonsturgeon deleted the fix/fix-holoemitters branch November 1, 2022 19:10
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