mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-20 18:45:10 +00:00
Fix forgotten tab in 06fae58904 line 1337.
Noticed by Polakrity. This was SVN commit r22230.
This commit is contained in:
@@ -1334,7 +1334,7 @@ var g_BatchSize = getDefaultBatchTrainingSize();
|
||||
function OnTrainMouseWheel(dir)
|
||||
{
|
||||
if (!Engine.HotkeyIsPressed("session.batchtrain"))
|
||||
return;
|
||||
return;
|
||||
|
||||
g_BatchSize += dir / Engine.ConfigDB_GetValue("user", "gui.session.scrollbatchratio");
|
||||
if (g_BatchSize < 1 || !Number.isFinite(g_BatchSize))
|
||||
|
||||
Reference in New Issue
Block a user