Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

急需病床数字有误的Bug #61

Open
EricTianC opened this issue Feb 10, 2020 · 0 comments
Open

急需病床数字有误的Bug #61

EricTianC opened this issue Feb 10, 2020 · 0 comments

Comments

@EricTianC
Copy link

源代码中急需病床减去了隔离人数,但发病人数中已并不包含隔离人数
建议将MyPanel.java中line:94行的修改为
int needBeds = Math.max(Constants.BED_COUNT - PersonPool.getInstance().getPeopleSize(Person.State.FREEZE), 0)==0 ?PersonPool.getInstance().getPeopleSize(Person.State.CONFIRMED) :0;
也可以到我的分支https://github.com/EricTianC/VirusBroadcast下查看。
另外,我增加了图形控制台(尽管还很简陋)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant