($id, $ct) = ($ct, $id) if $thing{contest};
local $Gruntmaster::Data::contest = $ct if $ct;
debug $env => "Hash is $thing{hash} and id is $id";
- my %params = HGETALL "$thing{hash}.$id";
+ my %params = HGETALL $ct ? "contest.$ct.$thing{hash}.$id" : "$thing{hash}.$id";
$thing{mangle}->(local $_ = \%params) if exists $thing{mangle};
wantarray ? %params : \%params
}