diff --git a/libs/surfaces/wiimote/wiimote.cc b/libs/surfaces/wiimote/wiimote.cc index 56078545be..59f0ea2c86 100644 --- a/libs/surfaces/wiimote/wiimote.cc +++ b/libs/surfaces/wiimote/wiimote.cc @@ -89,7 +89,7 @@ XMLNode& WiimoteControlProtocol::get_state () { XMLNode& node (ControlProtocol::get_state()); - node.add_property (X_("feedback"), "0"); + node.set_property (X_("feedback"), "0"); return node; }