Skip to content

HIGH: mouseEvent missing isAux parameter #30

Description

@TheCodingDad-TisonK

Severity: HIGH

File: src/main.lua:89
Multiplayer: No
Fix Complexity: TRIVIAL
Confidence: 100% (source-verified)

Description

FS25 addModEventListener mouseEvent signature is (posX, posY, isDown, isUp, button, isAux, eventUsed) — 7 params. The handler has 6 params, missing isAux. The local eventUsed receives the isAux value (always false), and the real eventUsed from the engine is silently discarded.

Impact

HUD processes mouse events already consumed by GUI system or other mods.

Fix

Add isAux parameter: function incomeMouseHandler:mouseEvent(posX, posY, isDown, isUp, button, isAux, eventUsed)


Source: Consolidated Bug Review 2026-07-26, IM-002

Metadata

Metadata

Labels

bugSomething isn't workinguiUI/HUD relateduser-repliedUser is awaiting response

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions