「モジュール:SMWメンバー情報」の版間の差分
センター歴ゼロでもセンター回数合計=0が設定されるようにする(いままでは、NaNになっていた) |
いったん処理を取り消す。ただし、センター回数合計は tota_c がゼロでも dataStore登録するものとする |
||
| (同じ利用者による、間の3版が非表示) | |||
| 110行目: | 110行目: | ||
end | end | ||
-- Add the total selection times to the dataStore | -- Add the total selection times to the dataStore | ||
dataStore["センター回数合計"] = total_c | |||
local generation = '' | local generation = '' | ||
| 176行目: | 174行目: | ||
-- Add the total selection times to the dataStore | -- Add the total selection times to the dataStore | ||
if total_c > 0 then | |||
dataStore["センター回数合計"] = total_c | |||
end | |||
setProperty(dataStore); | setProperty(dataStore); | ||