1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +01:00

Fix #21507: Expose suggestedGuestMaximum via hook (#21521)

This commit is contained in:
Harry Hopkinson
2024-09-12 01:17:26 +01:00
committed by GitHub
parent 6ee282c8f9
commit 89637013e8
6 changed files with 31 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ static const EnumMap<HOOK_TYPE> HooksLookupTable({
{ "map.change", HOOK_TYPE::MAP_CHANGE },
{ "map.changed", HOOK_TYPE::MAP_CHANGED },
{ "map.save", HOOK_TYPE::MAP_SAVE },
{ "park.guest.softcap.calculate", HOOK_TYPE::PARK_CALCULATE_GUEST_CAP },
});
HOOK_TYPE OpenRCT2::Scripting::GetHookType(const std::string& name)