mirror of
https://github.com/roflmuffin/CounterStrikeSharp.git
synced 2025-12-05 23:58:24 -08:00
fix: do nothing when pressing 7 (prev) on the 1st page of a menu (#1127)
This commit is contained in:
@@ -108,9 +108,12 @@ public abstract class BaseMenuInstance : IMenuInstance
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (key == 7 && HasPrevButton)
|
if (key == 7)
|
||||||
{
|
{
|
||||||
PrevPage();
|
if (HasPrevButton)
|
||||||
|
{
|
||||||
|
PrevPage();
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user