summaryrefslogtreecommitdiff
path: root/lib/mods/theme/scpt/player.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mods/theme/scpt/player.lua')
-rw-r--r--lib/mods/theme/scpt/player.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mods/theme/scpt/player.lua b/lib/mods/theme/scpt/player.lua
index de04052d..0e9faff6 100644
--- a/lib/mods/theme/scpt/player.lua
+++ b/lib/mods/theme/scpt/player.lua
@@ -8,9 +8,9 @@ function __birth_hook_objects()
-- Start the undeads, as undeads with the corruptions
if get_subrace_name() == "Vampire" then
- player.corruption(CORRUPT_VAMPIRE_TEETH, TRUE)
- player.corruption(CORRUPT_VAMPIRE_STRENGTH, TRUE)
- player.corruption(CORRUPT_VAMPIRE_VAMPIRE, TRUE)
+ player_gain_corruption(CORRUPT_VAMPIRE_TEETH)
+ player_gain_corruption(CORRUPT_VAMPIRE_STRENGTH)
+ player_gain_corruption(CORRUPT_VAMPIRE_VAMPIRE)
end
end