mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix typos with codespell
This commit is contained in:
parent
6b20c50429
commit
c4a9b42297
7 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue