Skip to content

Commit

Permalink
enable fix (#275)
Browse files Browse the repository at this point in the history
Signed-off-by: mohamedsayed18 <[email protected]>
  • Loading branch information
mohamedsayed18 authored Aug 7, 2020
1 parent deaa059 commit fd37a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/touch_plugin/TouchPlugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ void TouchPluginPrivate::Load(const EntityComponentManager &_ecm,
this->validConfig = true;

// Start enabled or not
if (_sdf->Get<bool>("enabled", false).second)
if (_sdf->Get<bool>("enabled", false).first)
{
this->Enable(true);
}
Expand Down

0 comments on commit fd37a77

Please sign in to comment.