]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_property.cpp
USER_STAT refactoring.
[stg.git] / projects / stargazer / user_property.cpp
index 5af05a467f9674a4614a6afbe4b3ac5fcb566240..f5f5eeeacbec868cae7f2c5be6ed5289893a77e6 100644 (file)
@@ -4,8 +4,8 @@ USER_PROPERTIES::USER_PROPERTIES(const std::string & sd)
     : stat(),
       conf(),
       cash            (stat.cash,             "cash",             false, true, GetStgLogger(), sd),
-      up              (stat.up,               "upload",           false, true, GetStgLogger(), sd),
-      down            (stat.down,             "download",         false, true, GetStgLogger(), sd),
+      up              (stat.monthUp,          "upload",           false, true, GetStgLogger(), sd),
+      down            (stat.monthDown,        "download",         false, true, GetStgLogger(), sd),
       lastCashAdd     (stat.lastCashAdd,      "lastCashAdd",      false, true, GetStgLogger(), sd),
       passiveTime     (stat.passiveTime,      "passiveTime",      false, true, GetStgLogger(), sd),
       lastCashAddTime (stat.lastCashAddTime,  "lastCashAddTime",  false, true, GetStgLogger(), sd),