diff --git a/resources/assets/zscript/lib/lemonutil.zs b/resources/assets/zscript/lib/lemonutil.zs index 971f4fa..dacffef 100644 --- a/resources/assets/zscript/lib/lemonutil.zs +++ b/resources/assets/zscript/lib/lemonutil.zs @@ -72,7 +72,7 @@ class LemonUtil { // Hardcoded for single player atm PlayerInfo p = players[0]; int playerClassNum = p.CurrentPlayerClass; - for (uint i = 0; i < PlayerClasses.Size(); ++i) { + for (int i = 0; i < PlayerClasses.Size(); ++i) { String className = PlayerClasses[i].type.GetClassName(); if (playerClassNum == i) { String className = PlayerClasses[i].type.GetClassName(); @@ -89,7 +89,7 @@ class LemonUtil { // Hardcoded for single player atm PlayerInfo p = players[0]; int playerClassNum = p.CurrentPlayerClass; - for (uint i = 0; i < PlayerClasses.Size(); ++i) { + for (int i = 0; i < PlayerClasses.Size(); ++i) { String className = PlayerClasses[i].type.GetClassName(); if (playerClassNum == i) { String className = PlayerClasses[i].type.GetClassName(); diff --git a/resources/assets/zscript/lib/xgametranslation.zs b/resources/assets/zscript/lib/xgametranslation.zs index 1d4783f..9a52420 100644 --- a/resources/assets/zscript/lib/xgametranslation.zs +++ b/resources/assets/zscript/lib/xgametranslation.zs @@ -66,7 +66,7 @@ class XGameTranslation { console.printf("XGameTranslation: Unknown group [%s]!", group); return; } - for (let i = 0; i < jsonArray.Size(); i++) { + for (int i = 0; i < jsonArray.Size(); i++) { HXDD_JsonObject jo = HXDD_JsonObject(jsonArray.arr[i]); if (jo) { String valDoom = "";