Skip to content

Commit 4a499ac

Browse files
Erik BylundMikkel Sørensen
authored andcommitted
Fix build errors
1 parent 9defd46 commit 4a499ac

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Runtime/Client/LootLockerServerApi.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ IEnumerator coroutine()
9898
if (!webRequest.isDone && timedOut)
9999
{
100100
LootLockerLogger.GetForLogLevel(LootLockerLogger.LogLevel.Warning)("Exceeded maxTimeOut waiting for a response from " + request.httpMethod + " " + url);
101-
OnServerResponse?.Invoke(LootLockerResponseFactory.Error<LootLockerResponse>(request.endpoint + " Timed out.", 408));
101+
OnServerResponse?.Invoke(LootLockerResponseFactory.ClientError<LootLockerResponse>(request.endpoint + " timed out."));
102102
yield break;
103103
}
104104

Runtime/Game/Requests/HeroRequest.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,10 @@
44
namespace LootLocker.Requests
55
{
66

7-
public class LootLockerHeroResponse : LootLockerResponse
8-
{
9-
LootLockerHero hero;
10-
}
11-
127

138
public class LootLockerPlayerHeroResponse : LootLockerResponse
149
{
15-
LootLockerPlayerHero hero;
10+
public LootLockerPlayerHero hero;
1611
}
1712

1813
public class LootLockerGameHeroResponse : LootLockerResponse

0 commit comments

Comments
 (0)