Skip to content

Commit

Permalink
Fix startup errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemon-King committed Oct 22, 2023
1 parent 0a453ce commit 0d4ebd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/assets/zscript/lib/lemonutil.zs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion resources/assets/zscript/lib/xgametranslation.zs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down

0 comments on commit 0d4ebd2

Please sign in to comment.