# HG changeset patch # User Wuzzy # Date 1524324479 -3600 # Node ID 81f8f7659f501f5ffb8864afe9656307f58db7cc # Parent 14223a7d3c15d011ed0a074dc2282d0e055d2eac LuaAPI: Retreat update diff -r 14223a7d3c15 -r 81f8f7659f50 LuaAPI.wiki --- a/LuaAPI.wiki Sat Apr 21 16:26:26 2018 +0100 +++ b/LuaAPI.wiki Sat Apr 21 16:27:59 2018 +0100 @@ -1043,7 +1043,7 @@ The retreat time must be set with `time` in milliseconds. By default, this time is automatically multiplied with get-away time percentage from the game scheme for seamless integration with schemes. If you want to ignore the game scheme for some reason and set the retreat time no matter what, set `respectGetAwayTimeFactor` to `false`. -If the current hedgehog was busy doing an attack, the attack is aborted, no shot is made. If this function is called in the ready phase of af a turn, the ready phase is not stopped immediately, but the turn will begin in the retreat phase instead. +If the current hedgehog was busy doing an attack, the attack is aborted, no shot is made. If this function is called in the ready phase of af a turn, the ready phase continues normally, but the turn will begin in the retreat phase instead. Note: If you want the turn to end instantly, it is recommended to use `EndTurn` instead.