Port career setup, manager hub and context-aware native UI (by Codex)
This commit is contained in:
1 parent
d88bf2872a
commit
d085697bb9
37 files changed
+1447
-421
No files matched your search
@@ -244,6 +244,7 @@ Json DemoSource::read_statistics(const Json &request) const {
|
||||
ActionResult DemoSource::apply(const Action &action) {
|
||||
if (action.revision != revision_)
|
||||
return {false, revision_, "stale_revision"};
|
||||
if(state_.value("career",Json::object()).value("ended",false)&&action.kind!="start")return {false,revision_,"career_ended"};
|
||||
auto next = state_;
|
||||
try {
|
||||
if (action.kind == "career") {
|
||||
|
||||
Reference in new issue
Block a user