Closed lL1l1 closed 1 week ago
Caused by #6273. Intel was not being put into the intel tables used for the intel state table because of a bad order of operations on some booleans.
UI_Lua LOG('number' ~= 'table') prints true, while `UI_Lua LOG(not 'number' == 'table') prints false. Enemy radar blips show up ingame.
UI_Lua LOG('number' ~= 'table')
- [ ] Changes are annotated, including comments where useful - [ ] Changes are documented in the changelog for the next game version Not necessary.
Because not is applied to string first. It has higher precedence than equal operator.
Description of the proposed changes
Caused by #6273. Intel was not being put into the intel tables used for the intel state table because of a bad order of operations on some booleans.
Testing done on the proposed changes
UI_Lua LOG('number' ~= 'table')
prints true, while `UI_Lua LOG(not 'number' == 'table') prints false. Enemy radar blips show up ingame.Checklist
- [ ] Changes are annotated, including comments where useful- [ ] Changes are documented in the changelog for the next game versionNot necessary.