fix gsc error stacktrace
This commit is contained in:
parent
02bc694695
commit
4ed6cc9310
@ -297,7 +297,7 @@ namespace gsc
|
|||||||
{
|
{
|
||||||
const auto function_stack = game::scr_function_stack;
|
const auto function_stack = game::scr_function_stack;
|
||||||
const auto pos = frame == game::scr_VmPub->function_frame ? function_stack->pos : frame->fs.pos;
|
const auto pos = frame == game::scr_VmPub->function_frame ? function_stack->pos : frame->fs.pos;
|
||||||
const auto function = find_function(frame->fs.pos);
|
const auto function = find_function(pos);
|
||||||
|
|
||||||
if (function.has_value())
|
if (function.has_value())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user