1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

-fixed crash reported by n-pigeon

This commit is contained in:
Juan Linietsky
2014-12-16 23:46:55 -03:00
parent 2dd302ff90
commit fd4648c081
2 changed files with 12 additions and 1 deletions

View File

@@ -1165,7 +1165,7 @@ static void _find_identifiers(GDCompletionContext& context,int p_line,bool p_onl
const GDParser::ClassNode *clss=context._class;
bool _static=context.function->_static;
bool _static=context.function && context.function->_static;
while(clss) {
GDCompletionContext c = context;