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

Fix dark craftable PR #38243

Merged
merged 3 commits into from
Feb 24, 2020
Merged

Fix dark craftable PR #38243

merged 3 commits into from
Feb 24, 2020

Conversation

Fris0uman
Copy link
Contributor

@Fris0uman Fris0uman commented Feb 22, 2020

Summary

SUMMARY: None

Purpose of change

Fixes #38266

Describe the solution

Reverts changes to player_can_build()
Introduce player_can_see_to_build() that manage dark craftability

Describe alternatives you've considered

Testing

Open contruction menu in the dark
Can't craft normal buildings
Can craft firewood source
Don't get popups
Press ;
No bug

Additional context

@Fris0uman Fris0uman changed the title Fix drak craftable PR: Use p instead of g->u [WIP] Fix dark craftable PR Feb 23, 2020
@Fris0uman Fris0uman changed the title [WIP] Fix dark craftable PR Fix dark craftable PR Feb 23, 2020
@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Crafting / Construction / Recipes Includes: Uncrafting / Disassembling labels Feb 24, 2020
@ZhilkinSerg ZhilkinSerg merged commit 8793567 into CleverRaven:master Feb 24, 2020
@Fris0uman Fris0uman deleted the q_fix branch February 24, 2020 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Crafting / Construction / Recipes Includes: Uncrafting / Disassembling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Construction screen freezes after pressing semicolon
2 participants