Skip to content
Snippets Groups Projects

Chrono clone fix

Merged Samuel Wegner requested to merge Effigy/t-engine4:chrono_fix into master
+ 1
2
Compare changes
  • Side-by-side
  • Inline
@@ -293,7 +293,7 @@ makeParadoxClone = function(self, target, duration, alt_nodes)
-- Don't copy certain fields from the target
alt_nodes = alt_nodes or {}
alt_nodes[target:getInven("INVEN")] = false -- Skip main inventory; equipped items are still copied
if target:getInven("INVEN") then alt_nodes[target:getInven("INVEN")] = false end -- Skip main inventory; equipped items are still copied
alt_nodes.quests = false
alt_nodes.random_escort_levels = false
alt_nodes.achievements = false
@@ -325,7 +325,6 @@ makeParadoxClone = function(self, target, duration, alt_nodes)
local m = target:cloneCustom(alt_nodes)
-- Basic setup
m.dead = false
m.no_drops = true
m.keep_inven_on_death = false
m.faction = target.faction
Loading