mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Make expectedDay in plugin in 1 to 31 range.
This commit is contained in:
@@ -145,7 +145,7 @@ namespace OpenRCT2::Scripting
|
||||
{
|
||||
if (gResearchProgressStage == RESEARCH_STAGE_INITIAL_RESEARCH || gResearchExpectedDay == 255)
|
||||
return ToDuk(_context, nullptr);
|
||||
return ToDuk(_context, gResearchExpectedDay);
|
||||
return ToDuk(_context, gResearchExpectedDay + 1);
|
||||
}
|
||||
|
||||
DukValue lastResearchedItem_get() const
|
||||
|
||||
Reference in New Issue
Block a user