Преглед на файлове

Update tutorials/shaders/shader_reference/shading_language.rst

Co-authored-by: tetrapod <[email protected]>
GlitchCode24 преди 7 месеца
родител
ревизия
619edd2cae
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tutorials/shaders/shader_reference/shading_language.rst

+ 1 - 1
tutorials/shaders/shader_reference/shading_language.rst

@@ -554,7 +554,7 @@ Godot Shading language supports the most common types of flow control:
     // `if`, `else if` and `else`.
     // `if`, `else if` and `else`.
     if (cond) {
     if (cond) {
 
 
-    } else if (cond) {
+    } else if (other_cond) {
 
 
     } else {
     } else {