「モジュール:SMWメンバー情報」の版間の差分

Motodai (トーク | 投稿記録)
センター歴ゼロでもセンター回数合計=0が設定されるようにする(いままでは、NaNになっていた)
Motodai (トーク | 投稿記録)
細編集の要約なし
タグ: 差し戻し済み
148行目: 148行目:
   -- Add the total selection times to the dataStore
   -- Add the total selection times to the dataStore
   dataStore["選抜回数合計"] = total_s
   dataStore["選抜回数合計"] = total_s
  dataStore["センター回数合計"] = 0
   setProperty(dataStore);
   setProperty(dataStore);


176行目: 177行目:
   -- Add the total selection times to the dataStore
   -- Add the total selection times to the dataStore


   -- if total_c > 0 then
   if total_c > 0 then
  --  dataStore["センター回数合計"] = total_c
    dataStore["センター回数合計"] = total_c
   -- end
   end
   dataStore["センター回数合計"] = total_c
   dataStore["センター回数合計"] = total_c