mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-16 09:47:37 +00:00
Allow undo move if not picking item or elixir
If we select the option to leave the item on the ground, we should be able to undo and move another unit to take it.
This commit is contained in:
parent
063670cd38
commit
5b04e523b9
|
@ -66,6 +66,10 @@
|
|||
[/modify_unit]
|
||||
{EQUIP_WML}
|
||||
[/then]
|
||||
[else]
|
||||
[allow_undo]
|
||||
[/allow_undo]
|
||||
[/else]
|
||||
[/if]
|
||||
[/then]
|
||||
|
||||
|
@ -1091,6 +1095,10 @@ plague_staff #enddef
|
|||
[/remove_item]
|
||||
{MODIFY}
|
||||
[/then]
|
||||
[else]
|
||||
[allow_undo]
|
||||
[/allow_undo]
|
||||
[/else]
|
||||
[/if]
|
||||
[/event]
|
||||
#enddef
|
||||
|
|
Loading…
Reference in New Issue
Block a user