瀏覽代碼

small fixes to color8

Juan Linietsky 9 年之前
父節點
當前提交
64872ca811
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      modules/gdscript/gd_functions.cpp
  2. 1 1
      modules/gdscript/gd_tokenizer.cpp

+ 1 - 1
modules/gdscript/gd_functions.cpp

@@ -98,8 +98,8 @@ const char *GDFunctions::get_func_name(Function p_func) {
 		"load",
 		"inst2dict",
 		"dict2inst",
-		"Color8",
 		"hash",
+		"Color8",
 		"print_stack",
 		"instance_from_id",
 	};

+ 1 - 1
modules/gdscript/gd_tokenizer.cpp

@@ -1043,7 +1043,7 @@ void GDTokenizerText::advance(int p_amount) {
 
 //////////////////////////////////////////////////////////////////////////////////////////////////////
 
-#define BYTECODE_VERSION 7
+#define BYTECODE_VERSION 8
 
 Error GDTokenizerBuffer::set_code_buffer(const Vector<uint8_t> & p_buffer) {