mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
beans: fix generation for starting with planted beans (#6099)
beans is 0 in inventory, confusing CanPlantBeanCheck, check for this specific scenario in BeanPlanted to mitigate
This commit is contained in:
parent
7c4a3359f0
commit
3f8aa32d12
|
|
@ -786,6 +786,8 @@ bool BeanPlanted(const RandomizerGet bean) {
|
|||
// flag irrelevant if plant won't spawn
|
||||
if (!logic->HasItem(bean)) {
|
||||
return false;
|
||||
} else if (ctx->GetOption(RSK_SKIP_PLANTING_BEANS) && ctx->GetOption(RSK_STARTING_BEANS)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// swchFlag found using the Actor Viewer to get the Obj_Bean parameters & 0x3F
|
||||
|
|
|
|||
Loading…
Reference in a new issue