Fix return of variable in local scope.

[See GameEntitySet.cpp:72]