You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Remove some unnecessary booleans
Co-authored-by: HolonProduction <holonproduction@gmail.com>
This commit is contained in:
@@ -101,7 +101,6 @@ class GDScriptCompiler {
|
||||
|
||||
GDScriptCodeGenerator::Address add_constant(const Variant &p_constant) {
|
||||
GDScriptDataType type;
|
||||
type.has_type = true;
|
||||
type.kind = GDScriptDataType::BUILTIN;
|
||||
type.builtin_type = p_constant.get_type();
|
||||
if (type.builtin_type == Variant::OBJECT) {
|
||||
|
||||
Reference in New Issue
Block a user