Browse Source

Merge pull request #54798 from Calinou/gdscript-opcode-no-hash

Rémi Verschelde 3 năm trước cách đây
mục cha
commit
26f82563de
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/gdscript/gdscript_vm.cpp

+ 1 - 1
modules/gdscript/gdscript_vm.cpp

@@ -3309,7 +3309,7 @@ Variant GDScriptFunction::call(GDScriptInstance *p_instance, const Variant **p_a
 		}
 		}
 		int err_line = line;
 		int err_line = line;
 		if (err_text == "") {
 		if (err_text == "") {
-			err_text = "Internal Script Error! - opcode #" + itos(last_opcode) + " (report please).";
+			err_text = "Internal script error! Opcode: " + itos(last_opcode) + " (please report).";
 		}
 		}
 
 
 		if (!GDScriptLanguage::get_singleton()->debug_break(err_text, false)) {
 		if (!GDScriptLanguage::get_singleton()->debug_break(err_text, false)) {