diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-06-10 03:31:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-06-10 03:31:18 +0300 |
commit | bdc467e9f8d7c72d912eb7fdc434b3a14b52d901 (patch) | |
tree | 0b8a6f6a945314c05f66957ac2a6dc2c9b6b2664 /src/input | |
parent | 96b6acb72bab198d278919daa11390c573341647 (diff) | |
download | manaverse-bdc467e9f8d7c72d912eb7fdc434b3a14b52d901.tar.gz manaverse-bdc467e9f8d7c72d912eb7fdc434b3a14b52d901.tar.bz2 manaverse-bdc467e9f8d7c72d912eb7fdc434b3a14b52d901.tar.xz manaverse-bdc467e9f8d7c72d912eb7fdc434b3a14b52d901.zip |
Add chat command /trimmemory for force trim freed memory
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index f215a403b..ba8830130 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5966,6 +5966,12 @@ static const InputActionData inputActionData "clanwindow|clan", UseArgs_false, Protected_false}, + {"keyTrimMemory", + defaultAction(&Actions::trimMemory), + InputCondition::KEY_DOWN | InputCondition::INGAME, + "trim|trimmemory|memorytrim", + UseArgs_false, + Protected_true}, }; #undef defaultAction |