diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp index 834505df9a3..076f3376358 100644 --- a/servers/visual/shader_language.cpp +++ b/servers/visual/shader_language.cpp @@ -334,6 +334,7 @@ ShaderLanguage::Token ShaderLanguage::_get_token() { while (true) { if (GETCHAR(0) == '\n') { + tk_line++; char_idx++; break; }