We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c7741e commit 77e06e8Copy full SHA for 77e06e8
1 file changed
src/turnbased/helpers/InteractionInput.lua
@@ -47,12 +47,6 @@ end
47
-- @treturn boolean True if an action was created, false otherwise.
48
--
49
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
-
56
-- Characters can only interact with adjacent tiles.
57
if not target:isAdjacent( character:getTile() ) then
58
return false
0 commit comments