The RegisterProcessConsoleExecPostHook function was broken and unusable.
This was because we were passing the wrong number of params to call_function causing it to attempt to call a value that wasn't a function.
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Use RegisterProcessConsoleExecPostHook in a Lua script, enable the console enabler mod and type anything in the console and there's no longer an error outputted to the UE4SS console.
Checklist
[x] I have added the necessary description of this PR to the changelog, and I have followed the same format as other entries.
Description
The
RegisterProcessConsoleExecPostHook
function was broken and unusable. This was because we were passing the wrong number of params tocall_function
causing it to attempt to call a value that wasn't a function.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Use
RegisterProcessConsoleExecPostHook
in a Lua script, enable the console enabler mod and type anything in the console and there's no longer an error outputted to the UE4SS console.Checklist