diff options
Diffstat (limited to 'lib/core/crpt_aux.lua')
-rw-r--r-- | lib/core/crpt_aux.lua | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/core/crpt_aux.lua b/lib/core/crpt_aux.lua index c1772c04..85cddbf3 100644 --- a/lib/core/crpt_aux.lua +++ b/lib/core/crpt_aux.lua @@ -55,11 +55,7 @@ function test_depend_corrupt(corrupt, can_gain) end -- are we even allowed to get it? - if __corruptions[corrupt].can_gain and (not __corruptions[corrupt].can_gain()) then - return FALSE - end - - return TRUE + return player_can_gain_corruption(corrupt) end -- Gain a new corruption |