Skip to content

Commit

Permalink
Scene_Builder: Dereference Hashes for Backwards Compatibility in Perl
Browse files Browse the repository at this point in the history
  • Loading branch information
krkeegan committed Oct 25, 2013
1 parent c6f9ff2 commit 7842ee0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/read_table_A.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1085,10 +1085,10 @@ sub read_table_finish_A {

#Loop through the controller hash
if (exists $scene_build_controllers{$scene}){
foreach my $scene_controller (keys $scene_build_controllers{$scene}) {
foreach my $scene_controller (keys %{$scene_build_controllers{$scene}}) {
if ($objects{$scene_controller}) {
#Make a link to each responder in the responder hash
while (my ($scene_responder, $responder_data) = each($scene_build_responders{$scene})) {
while (my ($scene_responder, $responder_data) = each(%{$scene_build_responders{$scene}})) {
my ($on_level, $ramp_rate) = split(',', $responder_data);

if (($objects{$scene_responder}) and ($scene_responder ne $scene_controller)) {
Expand Down

0 comments on commit 7842ee0

Please sign in to comment.