Skip to content

Commit

Permalink
Merge pull request #81 from evoesports/fix_force_spec
Browse files Browse the repository at this point in the history
Fix parameter type for ForceSpectator with login
  • Loading branch information
snixtho authored May 29, 2023
2 parents 12f4a67 + bef6b34 commit 1bf4db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GbxRemote.Net/GbxRemoteClient.Methods.Players.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ await CallOrFaultAsync("ForceScores", playerScores, silentMode)
/// <param name="playerLogin"></param>
/// <param name="cameraType"></param>
/// <returns></returns>
public async Task<bool> ForceSpectatorAsync(int playerLogin, int cameraType)
public async Task<bool> ForceSpectatorAsync(string playerLogin, int cameraType)
{
return (bool) XmlRpcTypes.ToNativeValue<bool>(
await CallOrFaultAsync("ForceSpectator", playerLogin, cameraType)
Expand Down

0 comments on commit 1bf4db7

Please sign in to comment.