Skip to content

Commit a1809c4

Browse files
v9.5
- Fix Load others project name display bug
1 parent 0939223 commit a1809c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/TF2Sandbox-SaveSystem.smx

1 Byte
Binary file not shown.

scripting/TF2Sandbox-SaveSystem.sp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#define DEBUG
1818

1919
#define PLUGIN_AUTHOR "Battlefield Duck"
20-
#define PLUGIN_VERSION "9.4"
20+
#define PLUGIN_VERSION "9.5"
2121

2222
#include <sourcemod>
2323
#include <sdktools>
@@ -837,13 +837,13 @@ public Action Command_LoadOthersProjectsMenu(int client, int selectedclient) //c
837837
if (g_bPermission[selectedclient][iSlot])
838838
{
839839
cPermission = "Public";
840-
Format(menuinfo, sizeof(menuinfo), " Slot %i [%s]: [%s]", iSlot, GetDataName(client, iSlot), cPermission);
840+
Format(menuinfo, sizeof(menuinfo), " Slot %i [%s]: [%s]", iSlot, GetDataName(selectedclient, iSlot), cPermission);
841841
menu.AddItem(cSlot, menuinfo);
842842
}
843843
else
844844
{
845845
cPermission = "Private";
846-
Format(menuinfo, sizeof(menuinfo), " Slot %i [%s]: [%s]", iSlot, GetDataName(client, iSlot), cPermission);
846+
Format(menuinfo, sizeof(menuinfo), " Slot %i [%s]: [%s]", iSlot, GetDataName(selectedclient, iSlot), cPermission);
847847
menu.AddItem(cSlot, menuinfo, ITEMDRAW_DISABLED);
848848
}
849849
}

0 commit comments

Comments
 (0)