diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-21 15:10:15 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:04 +0200 |
| commit | 0439ccf76f9ccf68c7572deadf38d6a157c439e7 (patch) | |
| tree | e71d3ac9b2ab443d8c49342cc6c7708ba2a00788 /src/reducers/states.js | |
| parent | da861719c6433a1fc9346da958f0907e52d578ce (diff) | |
Implement last-simulated-tick and states fetching
Diffstat (limited to 'src/reducers/states.js')
| -rw-r--r-- | src/reducers/states.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reducers/states.js b/src/reducers/states.js index a9eb4ce8..d74c924c 100644 --- a/src/reducers/states.js +++ b/src/reducers/states.js @@ -22,7 +22,7 @@ function objectStates(type) { [action.tick]: Object.assign( {}, state[action.tick], - {[action.object.id]: action.object} + {[action.object[action.objectType + "Id"]]: action.object} ) } ); |
