Browse Source

small fixes to color8

Juan Linietsky 9 years ago
parent
commit
64872ca811
2 changed files with 2 additions and 2 deletions
  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) {