Skip to content

Commit f9fcac1

Browse files
authored
GAG FIX: Show actual admin name instead stored on gag remove action (#195)
1 parent 6655abd commit f9fcac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cstrike/addons/amxmodx/scripting/CA_Gag.sma

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ static bool: Gag_Remove(const id, const target) {
15431543
return false
15441544
}
15451545

1546-
show_activity_ex(id, g_currentGags[target][gd_adminName], "%l", "Gag_AdminUngagPlayer", g_currentGags[target][gd_name])
1546+
show_activity_ex(id, fmt("%n", id), "%l", "Gag_AdminUngagPlayer", g_currentGags[target][gd_name])
15471547

15481548
GagData_Reset(g_adminTempData[id])
15491549
GagData_Reset(g_currentGags[target])

0 commit comments

Comments
 (0)