mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Removed unused variables, add some constants numbers
This commit is contained in:
parent
6f38aeef52
commit
ed1c4bc77d
41 changed files with 112 additions and 91 deletions
|
@ -115,7 +115,7 @@ void ExtendGDScriptParser::update_document_links(const String &p_code) {
|
|||
if (tokenizer.get_token() == GDScriptTokenizer::TK_EOF) {
|
||||
break;
|
||||
} else if (tokenizer.get_token() == GDScriptTokenizer::TK_CONSTANT) {
|
||||
Variant const_val = tokenizer.get_token_constant();
|
||||
const Variant &const_val = tokenizer.get_token_constant();
|
||||
if (const_val.get_type() == Variant::STRING) {
|
||||
String path = const_val;
|
||||
bool exists = fs->file_exists(path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue