mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-24 05:26:37 +01:00
Permafat restored, cryo bug fix
Bug that caused cryopods to not teleport afk people fixed Fixed issues regarding saving persistent fat or permanent weight while in another player's character
This commit is contained in:
@@ -249,9 +249,10 @@
|
||||
var/mob/living/mob_occupant = occupant
|
||||
|
||||
//GS13 Process permanent fat
|
||||
if(mob_occupant.client.prefs)
|
||||
if(mob_occupant.client.ckey)
|
||||
mob_occupant.client.prefs.perma_fat_save(mob_occupant)
|
||||
if(iscarbon(mob_occupant))
|
||||
var/mob/living/carbon/C = mob_occupant
|
||||
if(C)
|
||||
C.perma_fat_save(C)
|
||||
|
||||
//Update any existing objectives involving this mob.
|
||||
for(var/datum/objective/O in GLOB.objectives)
|
||||
|
||||
Reference in New Issue
Block a user