Skip to content

onClientDebugMessage/onDebugMessage recognize level 4 as 0 #3439

@sacr1ficez

Description

@sacr1ficez

Describe the bug

As in title.

Steps to reproduce

outputDebugString("test", 4, 255, 255, 255)

-- client

function onClientDebugMessage(debugMessage, debugLevel)
	iprint(debugMessage, debugLevel)
end
addEventHandler("onClientDebugMessage", root, onClientDebugMessage)

-- server

function onDebugMessage(debugMessage, debugLevel)
	iprint(debugMessage, debugLevel)
end
addEventHandler("onDebugMessage", root, onDebugMessage)

Version

r22489

Additional context

Level 4 was added in #1167

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions