Fix typos with codespell

Using codespell 2.2-dev from current git.
This commit is contained in:
Rémi Verschelde 2022-05-23 21:41:46 +02:00
parent 07ec0cbbbf
commit 88dba8e625
5 changed files with 6 additions and 6 deletions

View file

@ -488,7 +488,7 @@ Variant GDScriptFunction::call(GDScriptInstance *p_instance, const Variant **p_a
if (scr_B) {
//if B is a script, the only valid condition is that A has an instance which inherits from the script
//in other situation, this shoul return false.
//in other situation, this should return false.
if (obj_A->get_script_instance() && obj_A->get_script_instance()->get_language() == GDScriptLanguage::get_singleton()) {
GDScript *cmp = static_cast<GDScript *>(obj_A->get_script_instance()->get_script().ptr());