Use correct variable. Fix #2957.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16052 3db68df2-c116-0410-a063-a993310a9797
reshuffle the petra deserialization to prevent it to modify the metadata infos

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16053 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'