Skip to content

Commit 77e06e8

Browse files
committed
Remove action to open health panel for enemies
Since the addition of the new UI this has become superfluous.
1 parent 5c7741e commit 77e06e8

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/turnbased/helpers/InteractionInput.lua

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ end
4747
-- @treturn boolean True if an action was created, false otherwise.
4848
--
4949
function InteractionInput:request( target, character )
50-
-- Check health of enemy characters.
51-
if target:hasCharacter() and target:getCharacter():getFaction():getType() ~= character:getFaction():getType() then
52-
ScreenManager.push( 'playerInfo', target:getCharacter() )
53-
return true
54-
end
55-
5650
-- Characters can only interact with adjacent tiles.
5751
if not target:isAdjacent( character:getTile() ) then
5852
return false

0 commit comments

Comments
 (0)