[git] Error if entering dream while golem is dead

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Stuntofthelitter
Spiderkin
Posts: 574
Joined: Sun May 12, 2013 7:00 am

[git] Error if entering dream while golem is dead

#1 Post by Stuntofthelitter »

Noxius Caldera, as alchemist. If golem is not alive when entering the dream an error occurs followed the game becoming stuck in a loop and generally ruining fun.

Code: Select all

Lua Error: /engine/Level.lua:126: Entity 2346(golem (servant of player)) not present on the level
	At [C]:-1 
	At [C]:-1 error
	At /engine/Level.lua:126 removeEntity
	At /data/zones/dreams/zone.lua:289 enter_dreams
	At /data/zones/dreams/zone.lua:243 on_enter
	At /mod/class/Game.lua:1043 changeLevelReal
	At /mod/class/Game.lua:807 changeLevel
	At /data/zones/noxious-caldera/zone.lua:165 run_dream
	At /data/zones/noxious-caldera/zone.lua:149 on_turn
	At /mod/class/Game.lua:1436 onTurn
	At /engine/GameEnergyBased.lua:88 tick
	At /engine/GameTurnBased.lua:46 tick
	At /mod/class/Game.lua:1255 

0player
Uruivellas
Posts: 717
Joined: Fri May 24, 2013 4:27 pm

Re: [git] Error if entering dream while golem is dead

#2 Post by 0player »

Should've considered that some entities in party may not be on the level. Will fix.

Post Reply