diff --git a/WORKLOG.md b/WORKLOG.md index f123d083..75d3a926 100644 --- a/WORKLOG.md +++ b/WORKLOG.md @@ -29,40 +29,16 @@ *$$$* +* rerolls cost 1cr +* rename costs 1cr +* invader set +* start with 3 constructs w/ random names +* storing construct costs 5cr -* balances table (ingame currency) - id - account - balance - -* accounting - id - reference / hash etc - currency - credit - debit - -* conversions - id - tx ref accounting - conversion rate - converted value - -* txs - -* mtx table - id - item_name - -* define $cost for ingame bits - * pay for rerolls * eth adapter -* dollar processor - - *CLIENT* diff --git a/client/src/components/animations.jsx b/client/src/components/animations.jsx index c437041b..86f93010 100644 --- a/client/src/components/animations.jsx +++ b/client/src/components/animations.jsx @@ -61,7 +61,7 @@ function animations(props) { const { game, account, resolution, player, construct } = props; if (!resolution) return false; const [, event] = resolution.event; - if (!event.skill) return false; + if (!event || !event.skill) return false; if (!resolution.target) return false; // source animation