From 7192e89fd5262ec273fcff5db4a40817d0a348cd Mon Sep 17 00:00:00 2001 From: bgkillas Date: Sun, 10 Nov 2024 14:20:29 -0500 Subject: [PATCH] remove debug gameprint --- quant.ew/files/core/inventory_helper.lua | 1 - quant.ew/files/system/local_health/local_health.lua | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quant.ew/files/core/inventory_helper.lua b/quant.ew/files/core/inventory_helper.lua index 0ea1e896..b5411aa8 100644 --- a/quant.ew/files/core/inventory_helper.lua +++ b/quant.ew/files/core/inventory_helper.lua @@ -97,7 +97,6 @@ function inventory_helper.serialize_single_item(item) sprite = ComponentGetValue2(sprite, "image_file") end local varp = EntityGetFilename(item) == "data/entities/items/wand_varpuluuta.xml" - GamePrint(tostring(image_inv)) item_data = {true, wand:Serialize(true, true), x, y, extra, is_new, {vx, vy}, sprite, image_inv, varp} else item_data = {false, util.serialize_entity(item), x, y} diff --git a/quant.ew/files/system/local_health/local_health.lua b/quant.ew/files/system/local_health/local_health.lua index 6c855872..161bad01 100644 --- a/quant.ew/files/system/local_health/local_health.lua +++ b/quant.ew/files/system/local_health/local_health.lua @@ -65,7 +65,8 @@ local function end_poly_effect(ent) local game_effect_comp = EntityGetFirstComponentIncludingDisabled(child, "GameEffectComponent") if game_effect_comp then local effect = ComponentGetValue2(game_effect_comp, "effect") - if effect == "POLYMORPH" or effect == "POLYMORPH_RANDOM" or effect == "POLYMORPH_UNSTABLE" then + if effect == "POLYMORPH" or effect == "POLYMORPH_RANDOM" + or effect == "POLYMORPH_UNSTABLE" or effect == "POLYMORPH_CESSATION" then serialized = ComponentGetValue2(game_effect_comp, "mSerializedData") if serialized ~= nil then break