Changes between Initial Version and Version 1 of Ticket #1720, comment 35


Ignore:
Timestamp:
Jun 24, 2016, 10:45:53 PM (3 years ago)
Author:
bb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1720, comment 35

    initial v1  
    55* split out return objects over several lines and change the order of returns (so put the return false first) e.g.
    66{{{
    7 if (!Engine.!HotkeyIsPressed("session.patrol") && getActionInfo("patrol", target).possible)
     7if (!Engine.HotkeyIsPressed("session.patrol") || !getActionInfo("patrol", target).possible)
    88    return false;
    99