mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
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:
co-authored by
Watermelon914
parent
2057163276
commit
8fe5d046d6
@@ -299,6 +299,8 @@ SUBSYSTEM_DEF(job)
|
||||
player.mind.special_role = null
|
||||
SetupOccupations()
|
||||
unassigned = list()
|
||||
if(overflow_role)
|
||||
set_overflow_role(overflow_role)
|
||||
return
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user