You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ddnet, the first NewRun instruction is implicit: after the config name, a run is started. On the contrary in rules++, the first NewRun(); is mandatory. (which is fine, although I'd prefer implicit runs as well) but the code generated contains a NewRun, which is actually a 2nd run (the first, implicit run does nothing).
TLDR It would be better to remove the first NewRun in generated .rules files, or to make the first NewRun(); instruction implicit.
In ddnet, the first
NewRun
instruction is implicit: after the config name, a run is started. On the contrary in rules++, the firstNewRun();
is mandatory. (which is fine, although I'd prefer implicit runs as well) but the code generated contains aNewRun
, which is actually a 2nd run (the first, implicit run does nothing).TLDR It would be better to remove the first
NewRun
in generated.rules
files, or to make the firstNewRun();
instruction implicit.Example:
generates
but should have generated
The text was updated successfully, but these errors were encountered: