Changed the report bug button to use the google form. Temporarily switched the bug report form to show for all games.

This commit is contained in:
Christian 'ketura' McCarty
2024-12-06 00:11:34 -06:00
parent 7e64375a56
commit 3bee65b15a
2 changed files with 5 additions and 5 deletions

View File

@@ -103,7 +103,7 @@
</button>
</a>
<a href="https://lotrtcgwiki.com/forums/index.php?topic=7592.2610#new" target="_blank">
<a href="https://forms.gle/pks6CHMWcpBsTcwv9" target="_blank">
<button id="bug-button" class="toolbar-button">
<span class="custom-icon icon-bug"></span><span>Report a Bug</span>
</button>

View File

@@ -99,14 +99,14 @@ public class GameRecorder {
var playerRecordingId = saveRecordedChannels(recordingChannels, gameInfo, decks);
gameInfo.id = _gameHistoryService.addGameHistory(gameInfo);
if(format.isPlaytest())
{
// if(format.isPlaytest())
// {
String url = "https://docs.google.com/forms/d/e/1FAIpQLSdKJrCmjoyUqDTusDcpNoWAmvkGdzQqTxWGpdNIFX9biCee-A/viewform?usp=pp_url&entry.1592109986=";
String winnerURL = "https://play.lotrtcgpc.net/gemp-lotr/game.html%3FreplayId%3D" + winnerName + "$" + playerRecordingId.get(winnerName);
String loserURL = "https://play.lotrtcgpc.net/gemp-lotr/game.html%3FreplayId%3D" + loserName + "$" + playerRecordingId.get(loserName);
url += winnerURL + "%20" + loserURL;
lotroGame.sendMessageToPlayers("Thank you for playtesting! If you have any feedback, bugs, or other issues to report about this match, <a href= '" + url + "'>please do so using this form.</a>");
}
lotroGame.sendMessageToPlayers("Thank you for playing! If you have any feedback, bugs, or other issues to report about this match, <a href= '" + url + "'>please do so using this form.</a>");
// }
};
}