Fixed MOTD not appearing on latest

This commit is contained in:
PRO100KatYT
2024-10-30 16:24:08 +01:00
parent 50d4e95d12
commit a20cb343f1
4 changed files with 33 additions and 9 deletions

View File

@@ -156,7 +156,7 @@ function getTheater(req) {
try {
if (memory.build >= 30.20) { // Those changes have to be made before the 15.30+ ones
theater = theater.replace(/\/Game\/World\/ZoneThemes/g, "/STW_Zones/World/ZoneThemes");
theater = theater.replace(/\/Game\/World\/ZoneThemes/ig, "/STW_Zones/World/ZoneThemes");
theater = theater.replace(/\"DataTable\'\/Game\//ig, "\"/Script/Engine.DataTable\'\/Game\/");
}