1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix typos with codespell

This commit is contained in:
Rémi Verschelde
2022-12-15 12:26:59 +01:00
parent 55441f2301
commit 6963ba631e
11 changed files with 13 additions and 13 deletions

View File

@@ -189,7 +189,7 @@ bool NativeScript::can_instance() const {
#ifdef TOOLS_ENABLED
// Only valid if this is either a tool script or a "regular" script.
// (so an environment whre scripting is disabled (and not the editor) would not
// (so an environment where scripting is disabled (and not the editor) would not
// create objects).
return script_data && (is_tool() || ScriptServer::is_scripting_enabled());
#else
@@ -1760,7 +1760,7 @@ void NativeReloadNode::_notification(int p_what) {
// Multiple GDNative libraries may be reloaded. The library and script
// path should match to prevent failing `NSL->library_classes` lookup
// from `get_script_desc()` in `script->_update_placeholder` below.
// This check also prevents "!script_data is true" error from occuring
// This check also prevents "!script_data is true" error from occurring
// when e. g. re-focusing editor window.
if (L->key() != U->key()) {
continue;