Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
def_key: 'C',
opname: "deactivate".to_owned(),
desc: Html::lit("Deactivate hand"),
- wrc: WRC::Unpredictable,
+ wrc: WRC::UpdateSvg,
}}
else { UoDescription {
kind: UoKind:: Piece,
def_key: 'C',
opname: "claim".to_owned(),
desc: Html::lit("Claim this as your hand"),
- wrc: WRC::Unpredictable,
+ wrc: WRC::UpdateSvg,
}}
})
}
f(uo);
return;
}
- if (!(uo.kind == 'Global' || uo.kind == 'GlobalExtra'))
+ if (!(uo.kind == 'Global' || uo.kind == 'GlobalExtra' || uo.kind == 'Piece'))
throw 'bad kind '+uo.kind;
if (uo.wrc == 'UpdateSvg' || uo.wrc == 'Predictable') {