Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/Status.sp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public Plugin myinfo =
name = "Status Fixer",
author = "zaCade + BotoX + Obus + .Rushaway",
description = "Fixes the \"status\" command",
version = "2.2.3",
version = "2.2.4",
url = "https://github.com/srcdslab/sm-plugin-Status"
};

Expand Down
8 changes: 4 additions & 4 deletions addons/sourcemod/scripting/include/serverfps.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ stock float GetServerFPS()
/*
* Internal Functions
*/
stock Handle GetServerFPSConf()
stock GameData GetServerFPSConf()
{
static Handle hGameConf = null;
static GameData hGameConf = null;

if (hGameConf == null)
{
hGameConf = LoadGameConfigFile("serverfps.games");
hGameConf = new GameData("serverfps.games");

if (hGameConf == null)
{
Expand All @@ -37,7 +37,7 @@ stock Address GetHostTimeFrame()

if (pHostTimeFrame == Address_Null)
{
pHostTimeFrame = GameConfGetAddress(GetServerFPSConf(), "HostTimeFrame");
pHostTimeFrame = GetServerFPSConf().GetAddress("HostTimeFrame");

if (pHostTimeFrame == Address_Null)
{
Expand Down
Loading