Fix getting units by cheat.
Introduced in r26000 / rP26000.
Noticed by: @loveheaven at https://wildfiregames.com/forum/topic/64877-cannot-cheat-any-longer-by-iwanttopwnthem-50/.
Differential revision: https://code.wildfiregames.com/D4374
Comments by: @Silier, @Stan