Fix subclass finding in extend statement for sub-sub classes
Fix subclass finding in extend statement for sub-sub classes

lookup was always done on top level script instead of advancing to subclass each time.
this commit changes the lookup to always be at last found subclass

DmitriySalnikov/godot,firefly2442/godot,honix/godot,Shockblast/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,MarianoGnu/godot,sanikoyes/godot,pkowal1982/godot,guilhermefelipecgs/godot,akien-mga/godot,guilhermefelipecgs/godot,Faless/godot,firefly2442/godot,vkbsb/godot,Shockblast/godot,ZuBsPaCe/godot,ZuBsPaCe/godot,vkbsb/godot,DmitriySalnikov/godot,BastiaanOlij/godot,BastiaanOlij/godot,Zylann/godot,Shockblast/godot,akien-mga/godot,Faless/godot,MarianoGnu/godot,Valentactive/godot,BastiaanOlij/godot,josempans/godot,godotengine/godot,DmitriySalnikov/godot,Paulloz/godot,DmitriySalnikov/godot,honix/godot,Zylann/godot,pkowal1982/godot,Zylann/godot,ZuBsPaCe/godot,vnen/godot,honix/godot,sanikoyes/godot,Faless/godot,vkbsb/godot,godotengine/godot,josempans/godot,ex/godot,ZuBsPaCe/godot,ex/godot,BastiaanOlij/godot,MarianoGnu/godot,vnen/godot,akien-mga/godot,BastiaanOlij/godot,ex/godot,BastiaanOlij/godot,Valentactive/godot,Faless/godot,josempans/godot,Valentactive/godot,MarianoGnu/godot,vkbsb/godot,DmitriySalnikov/godot,josempans/godot,vnen/godot,ex/godot,vkbsb/godot,akien-mga/godot,guilhermefelipecgs/godot,godotengine/godot,Valentactive/godot,vnen/godot,ex/godot,Shockblast/godot,Paulloz/godot,ZuBsPaCe/godot,DmitriySalnikov/godot,Faless/godot,ZuBsPaCe/godot,BastiaanOlij/godot,guilhermefelipecgs/godot,josempans/godot,honix/godot,honix/godot,josempans/godot,ex/godot,BastiaanOlij/godot,vnen/godot,Paulloz/godot,akien-mga/godot,Faless/godot,firefly2442/godot,Zylann/godot,akien-mga/godot,Shockblast/godot,godotengine/godot,pkowal1982/godot,MarianoGnu/godot,ZuBsPaCe/godot,ex/godot,Valentactive/godot,pkowal1982/godot,Paulloz/godot,vkbsb/godot,pkowal1982/godot,akien-mga/godot,vkbsb/godot,Paulloz/godot,Zylann/godot,Valentactive/godot,godotengine/godot,godotengine/godot,Zylann/godot,pkowal1982/godot,MarianoGnu/godot,vnen/godot,Zylann/godot,Zylann/godot,guilhermefelipecgs/godot,DmitriySalnikov/godot,Faless/godot,honix/godot,Valentactive/godot,sanikoyes/godot,josempans/godot,akien-mga/godot,MarianoGnu/godot,firefly2442/godot,firefly2442/godot,firefly2442/godot,MarianoGnu/godot,vkbsb/godot,godotengine/godot,Shockblast/godot,Paulloz/godot,firefly2442/godot,sanikoyes/godot,Shockblast/godot,josempans/godot,vnen/godot,Valentactive/godot,pkowal1982/godot,sanikoyes/godot,sanikoyes/godot,Faless/godot,sanikoyes/godot,vnen/godot,Shockblast/godot,firefly2442/godot,sanikoyes/godot,guilhermefelipecgs/godot,ex/godot,guilhermefelipecgs/godot,Paulloz/godot,pkowal1982/godot,godotengine/godot