ianpatt / f4se

Fallout 4 Script Extender
https://f4se.silverlock.org
120 stars 24 forks source link

Update PapyrusArgs.h #21

Closed TommInfinite closed 1 year ago

TommInfinite commented 1 year ago

Without the fix CTD happens when user passed "NONE" value in an VMVariable array(VMArray)

Example papyrus script to reproduce CTD: Var[] TestArr = new Var[1] TestArr[0] = None UI.Invoke("Console","test",TestArr)

ianpatt commented 1 year ago

Thanks for the bug fix - cleaned up and submitted.