Closed skywalker999u closed 6 years ago
@skywalker999u I fix this problem by another way; f0d02e0. please check it.
however, in the new method, push_fleet_status() only omits showing the deleted ship let $ship_fdeck == [a,b,c,d,e,f] if ship_delete() on ship e, ($ship_fdeck == [a,b,c,d,null,f], push_fleet_status() shows [a,b,c,d,f] then /api_req_hensei/change on ship f with ship g ($ship_fdeck == [a,b,c,d,null,g], push_fleet_status() shows [a,b,c,d,g] which $ship_fdeck == [a,b,c,d,f,g] is expected but not met
I see, I will try again.
@skywalker999u I have pushed this on master
艦隊最後列以外の艦娘を解体した後、その艦娘以降の艦娘は即時(/api_port/port の update_fdeck_list()まで)反映できなくなります。 解体する時$ship_fdeckから解体された艦娘を除去し、 push_fleet_status()時修正した$ship_fdeckを使って、艦隊を即時反映できるようにしました。