diff --git a/WebfrontCore/wwwroot/css/main.scss b/WebfrontCore/wwwroot/css/main.scss index 1c1be06b7..519be9437 100644 --- a/WebfrontCore/wwwroot/css/main.scss +++ b/WebfrontCore/wwwroot/css/main.scss @@ -236,7 +236,7 @@ form *, select { background-color: darken($primary, 10%); } -style { +title { background-color: darken($primary, 10%); } diff --git a/WebfrontCore/wwwroot/js/server.js b/WebfrontCore/wwwroot/js/server.js index 86767f3c8..89e3dc52b 100644 --- a/WebfrontCore/wwwroot/js/server.js +++ b/WebfrontCore/wwwroot/js/server.js @@ -87,7 +87,7 @@ $(document).ready(function () { let clientHistory = $(this).data('clienthistory'); let serverId = $(this).data('serverid'); let maxClients = parseInt($('#server_header_' + serverId + ' .server-maxclients').text()); - let primaryColor = $('style').css('background-color'); + let primaryColor = $('title').css('background-color'); let color = $(this).data('online') === 'True' ? primaryColor : '#ff6060'; let width = $('.server-header').first().width(); let historyChart = getPlayerHistoryChart(clientHistory, serverId, width, color, maxClients); diff --git a/_customcallbacks.gsc b/_customcallbacks.gsc index 6fb47463c..475a9d6aa 100644 --- a/_customcallbacks.gsc +++ b/_customcallbacks.gsc @@ -4,7 +4,6 @@ init() { - return; SetDvarIfUninitialized( "sv_customcallbacks", true ); SetDvarIfUninitialized( "sv_framewaittime", 0.05 ); SetDvarIfUninitialized( "sv_additionalwaittime", 0.05 ); @@ -173,7 +172,7 @@ Process_Hit( type, attacker, sHitLoc, sMeansOfDeath, iDamage, sWeapon ) location = victim GetTagOrigin( hitLocationToBone( sHitLoc ) ); isKillstreakKill = !isPlayer( attacker ) || isKillstreakWeapon( sWeapon ); - logLine = "Script" + type + ";" + _attacker.guid + ";" + victim.guid + ";" + _attacker GetTagOrigin("tag_eye") + ";" + location + ";" + iDamage + ";" + sWeapon + ";" + sHitLoc + ";" + sMeansOfDeath + ";" + _attacker getPlayerAngles() + ";" + gettime() + ";" + isKillstreakKill + ";" + _attacker playerADS() + ";" + 0 + ";" + 0; + logLine = "Script" + type + ";" + _attacker.guid + ";" + victim.guid + ";" + _attacker GetTagOrigin("tag_eye") + ";" + location + ";" + iDamage + ";" + sWeapon + ";" + sHitLoc + ";" + sMeansOfDeath + ";" + _attacker getPlayerAngles() + ";" + gettime() + ";" + isKillstreakKill + ";" + _attacker playerADS() + ";0;0;"; attacker thread waitForAdditionalAngles( logLine ); }