mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 22:43:19 +00:00
Small WML optimization
This commit is contained in:
parent
9f0ac0824a
commit
0cfe68a0d5
@ -103,11 +103,9 @@
|
|||||||
#
|
#
|
||||||
# Allow side 2 no more than 1 Draug in the entire scenario
|
# Allow side 2 no more than 1 Draug in the entire scenario
|
||||||
#! {LIMIT_RECRUITS 2 (Draug) 1}
|
#! {LIMIT_RECRUITS 2 (Draug) 1}
|
||||||
[event]
|
[+variables]
|
||||||
name=prestart
|
side_{SIDE}_limited_recruits_length=-1
|
||||||
|
[/variables]
|
||||||
{VARIABLE side_{SIDE}_limited_recruits_length -1}
|
|
||||||
[/event]
|
|
||||||
|
|
||||||
[event]
|
[event]
|
||||||
name=recruit
|
name=recruit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user