[VSCRIPT] On linux, 'params' is not passed in ModifyEmitSoundParams(handle [params]) #1428
Labels
Priority: Minimal
These issues are things that are nice to have, but not required for the next release.
Status: Completed
Type: Code
Works fine in windows, but breaks in linux.
Example code:
entity.ValidateScriptScope()
local scope = entity.GetScriptScope()
scope.ModifyEmitSoundParams <- function()
{
ModEmitSnd_Elite(params)
}
Example error passed into console:
AN ERROR HAS OCCURRED [the index 'params' does not exist]
CALLSTACK
*FUNCTION [unknown()] scriptname.nut line [120]
The text was updated successfully, but these errors were encountered: