summaryrefslogtreecommitdiff
path: root/src/reducers/construction.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/reducers/construction.js')
-rw-r--r--src/reducers/construction.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/reducers/construction.js b/src/reducers/construction.js
index 33485842..772135ff 100644
--- a/src/reducers/construction.js
+++ b/src/reducers/construction.js
@@ -3,8 +3,8 @@ import {
CANCEL_NEW_ROOM_CONSTRUCTION_SUCCEEDED,
FINISH_NEW_ROOM_CONSTRUCTION,
START_NEW_ROOM_CONSTRUCTION_SUCCEEDED,
- START_OBJECT_CONSTRUCTION,
- STOP_OBJECT_CONSTRUCTION
+ START_RACK_CONSTRUCTION,
+ STOP_RACK_CONSTRUCTION
} from "../actions/topology";
export function currentRoomInConstruction(state = -1, action) {
@@ -19,11 +19,11 @@ export function currentRoomInConstruction(state = -1, action) {
}
}
-export function inObjectConstructionMode(state = false, action) {
+export function inRackConstructionMode(state = false, action) {
switch (action.type) {
- case START_OBJECT_CONSTRUCTION:
+ case START_RACK_CONSTRUCTION:
return true;
- case STOP_OBJECT_CONSTRUCTION:
+ case STOP_RACK_CONSTRUCTION:
return false;
default:
return state;
@@ -32,5 +32,5 @@ export function inObjectConstructionMode(state = false, action) {
export const construction = combineReducers({
currentRoomInConstruction,
- inObjectConstructionMode,
+ inRackConstructionMode,
});