diff --git a/scripts/node_line/node_line.gml b/scripts/node_line/node_line.gml index d12a7b9fe..b0ff2f321 100644 --- a/scripts/node_line/node_line.gml +++ b/scripts/node_line/node_line.gml @@ -239,12 +239,10 @@ function Node_Line(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) cons wght = 1; if(_useDistance) { p = _pat.getPointDistance(_prog_curr, i); - if(struct_has(_pat, "getWeightRatio")) wght = _pat.getWeightRatio(_prog_curr, i); } else { p = _pat.getPointRatio(_prog_curr, i); - if(struct_has(_pat, "getWeightDistance")) wght = _pat.getWeightDistance(_prog_curr, i); } diff --git a/scripts/save_function/save_function.gml b/scripts/save_function/save_function.gml index 7cf5022f6..8ef6ed845 100644 --- a/scripts/save_function/save_function.gml +++ b/scripts/save_function/save_function.gml @@ -109,7 +109,7 @@ function SAVE_AT(project = PROJECT, path = "", log = "save at ") { if(file_exists(path)) file_delete(path); var file = file_text_open_write(path); - file_text_write_string(file, save_serialize()); + file_text_write_string(file, save_serialize(project)); file_text_close(file); SAVING = false;