You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Make sure variant parser recognizes "nil" for compatibility with old engine.cfg style cofig. Closes #3531
This commit is contained in:
@@ -542,7 +542,7 @@ Error VariantParser::parse_value(Token& token,Variant &value,Stream *p_stream,in
|
||||
value=true;
|
||||
else if (id=="false")
|
||||
value=false;
|
||||
else if (id=="null")
|
||||
else if (id=="null" || id=="nil")
|
||||
value=Variant();
|
||||
else if (id=="Vector2"){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user