mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 15:14:52 +09:00
fix race condition
This commit is contained in:
1 parent
53af3849cc
commit
cb1071fc33
1 file changed
+1
@@ -80,6 +80,7 @@ function getImageFromName(name){
|
||||
return "https://wiki.factorio.com/images/" + capitalizeFirstLetter(replaceAll(factorioLocale["equipment-name"][name], ' ', '_').toLowerCase()) + ".png";
|
||||
} else return "";
|
||||
}
|
||||
window.factorioLocale = {};
|
||||
$.getJSON("/api/getFactorioLocale", (locale) => {
|
||||
window.factorioLocale = locale;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user