Remove hash symbol in front of opcode error messages in GDScript

The hash symbol creates spurious issue references on GitHub if
the message is posted outside a code block, which means some issues
have a lot more references than originally intended.
This commit is contained in:
Hugo Locurcio 2021-11-09 12:12:06 +01:00
parent fe1e5c2d5d
commit 63d214f04b
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -1537,7 +1537,7 @@ Variant GDScriptFunction::call(GDScriptInstance *p_instance, const Variant **p_a
}
int err_line = line;
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)) {