AI cryo now respects too early to ghost (#19215)

This commit is contained in:
Henri215
2022-10-04 22:23:56 -05:00
committed by GitHub
parent 94f85b8837
commit aba36033d8
@@ -29,7 +29,10 @@ GLOBAL_LIST_EMPTY(empty_playable_ai_cores)
current_mode.possible_traitors.Remove(src)
// Ghost the current player and disallow them to return to the body
ghostize()
if(TOO_EARLY_TO_GHOST)
ghostize(FALSE)
else
ghostize(TRUE)
// Delete the old AI shell
qdel(src)