fixed bug where townpartypanel wasn't setting its party field