remove debug gameprint

This commit is contained in:
bgkillas 2024-11-10 14:20:29 -05:00
parent aa7fb65164
commit 7192e89fd5
2 changed files with 2 additions and 2 deletions

View file

@ -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}

View file

@ -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