mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 16:14:12 +00:00
UtBS: Fixed unnecessary levelup flash when switching unit type
This commit is contained in:
parent
a7fd214908
commit
f0695b200e
@ -227,13 +227,12 @@
|
||||
[/variable]
|
||||
[/filter_condition]
|
||||
|
||||
[modify_unit]
|
||||
[filter]
|
||||
x,y=$x1,$y1
|
||||
[/filter]
|
||||
{VARIABLE unit.type {TYPE}}
|
||||
|
||||
type={TYPE}
|
||||
[/modify_unit]
|
||||
[unstore_unit]
|
||||
variable=unit
|
||||
find_vacant=no
|
||||
[/unstore_unit]
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user