Changes between Initial Version and Version 1 of Ticket #1720, comment 35
- Timestamp:
- Jun 24, 2016, 10:45:53 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1720, comment 35
initial v1 5 5 * split out return objects over several lines and change the order of returns (so put the return false first) e.g. 6 6 {{{ 7 if (!Engine. !HotkeyIsPressed("session.patrol") &&getActionInfo("patrol", target).possible)7 if (!Engine.HotkeyIsPressed("session.patrol") || !getActionInfo("patrol", target).possible) 8 8 return false; 9 9