Fixes and optimizes vorepref loading.

-Voreprefs are now loaded when the character loads as they used to be. The initial load only gives one usable belly while the rest are loaded when the vorepanel is opened.
-Now that the prefs are loaded at an appropriate time again, the forced defaults to disable everything are no longer a prefbreak concern.
-Un-spaghettifies an "optimization" into an optimization.
-Fixes voreprefs not loading when they should load.
This commit is contained in:
Verkister
2021-03-21 23:36:15 +02:00
parent 7e2890409e
commit 2059c83bc2
8 changed files with 18 additions and 16 deletions

View File

@@ -77,8 +77,6 @@
pred.Weaken(8)
var/mob/living/prey = src
var/fallloc = prey.loc
pred.init_vore()
prey.init_vore()
if(pred.can_be_drop_pred && prey.can_be_drop_prey)
pred.feed_grabbed_to_self_falling_nom(pred,prey)
pred.loc = fallloc