Skip to content

Commit

Permalink
Fix includes with errors in main file would lock the E2 editor (#3052)
Browse files Browse the repository at this point in the history
  • Loading branch information
Denneisk authored Apr 26, 2024
1 parent 8995594 commit 6917a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/entities/gmod_wire_expression2/cl_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function E2Lib.Validate(buffer)

-- invoke preprocessor
local status, directives, buffer, preprocessor = E2Lib.PreProcessor.Execute(buffer)
if not status then table.Add(errors, directives) end
if not status then table.Add(errors, directives) return errors end
---@cast directives PPDirectives
table.Add(warnings, preprocessor.warnings)

Expand Down

0 comments on commit 6917a31

Please sign in to comment.