Fixed overflow role not actually being overflow anymore after ResetOccupation is called (#78556)

## About The Pull Request
See title. Calling ResetOccupation doesn't re-apply the overflow role
correctly so it has reduced slots when it shouldn't.

## Why It's Good For The Game
Bugfix

## Changelog
🆑
fix: Fixed the overflow role having less slots than it actually should.
/🆑

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
Watermelon914
2023-09-24 18:23:21 +01:00
committed by GitHub
co-authored by Watermelon914
parent 2057163276
commit 8fe5d046d6
+2
View File
@@ -299,6 +299,8 @@ SUBSYSTEM_DEF(job)
player.mind.special_role = null
SetupOccupations()
unassigned = list()
if(overflow_role)
set_overflow_role(overflow_role)
return