Skip to content
This repository was archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
Periodically set the game description
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
winstliu committed Nov 22, 2015
1 parent 71997a6 commit 7290e5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addons/sourcemod/scripting/tf2x10.sp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ void SetGameDescription()
Format(description, sizeof(description), "TF2x10 v%s", PLUGIN_VERSION);
Steam_SetGameDescription(description);
}
else if(!cvarEnabled.BoolValue || !cvarGameDesc.BoolValue && StrContains(description, "TF2x10 ") != -1)
else if((!cvarEnabled.BoolValue || !cvarGameDesc.BoolValue) && StrContains(description, "TF2x10 ") != -1)
{
Steam_SetGameDescription("Team Fortress");
}
Expand Down Expand Up @@ -425,6 +425,8 @@ public Action Timer_ServerRunningX10(Handle hTimer)
return Plugin_Stop;
}

SetGameDescription();

PrintToChatAll("\x01[\x07FF0000TF2\x070000FFx10\x01] Mod by \x07FF5C33UltiMario\x01 and \x073399FFMr. Blue\x01. Plugin development by \x079EC34FWliu\x01 (based off of \x0794DBFFI\x01s\x0794DBFFa\x01t\x0794DBFFi\x01s's and \x075C5C8AInvisGhost\x01's code).");
PrintToChatAll("\x01Join our Steam group for Hale x10, Randomizer x10 and more by typing \x05/x10group\x01!");
return Plugin_Continue;
Expand Down

0 comments on commit 7290e5b

Please # to comment.