Skip to content

Commit

Permalink
Enforce semicolons and new declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikusch committed Jul 7, 2022
1 parent 8c0edf5 commit d129d06
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion addons/sourcemod/scripting/hwn_cosmetic_enabler.sp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>
#include <sdkhooks>
#include <tf2_stocks>
Expand Down Expand Up @@ -48,7 +51,7 @@ public void OnPluginStart()
GameData hGameData = new GameData("hwn_cosmetic_enabler");
if (hGameData)
{
g_hDetourIsHolidayActive = DynamicDetour.FromConf(hGameData, "TF_IsHolidayActive")
g_hDetourIsHolidayActive = DynamicDetour.FromConf(hGameData, "TF_IsHolidayActive");
if (!g_hDetourIsHolidayActive)
SetFailState("Failed to setup detour for TF_IsHolidayActive");

Expand Down

0 comments on commit d129d06

Please sign in to comment.