fixed Script ordering

This commit is contained in:
D4rkr34lm
2025-03-25 22:03:52 +01:00
parent 90d2e70a6e
commit 16f2eaad52
+8 -10
View File
@@ -19,16 +19,6 @@
--- This serves both as an example and a quick start to the Stewamwar Script Api
---
hotkey("ctrl+g", hotkeys_freeze)
hotkey("ctrl+c", hotkeys_rgc)
hotkey("ctrl+v", hotkeys_rgp)
hotkey("ctrl+x", hotkeys_tick_step)
hotkey("shift+x", hotkeys_cycle_trace_view)
hotkey("ctrl+y", hotkeys_tb)
hotkey("ctrl+alt", hotkeys_trace_delete)
hotkey("ctrl+h", hotkeys_trace_delete)
function hotkeys_freeze(pressed)
if pressed then
exec("/freeze")
@@ -86,4 +76,12 @@ function hotkeys_trace_delete(pressed)
end
end
hotkey("ctrl+g", hotkeys_freeze)
hotkey("ctrl+c", hotkeys_rgc)
hotkey("ctrl+v", hotkeys_rgp)
hotkey("ctrl+x", hotkeys_tick_step)
hotkey("shift+x", hotkeys_cycle_trace_view)
hotkey("ctrl+y", hotkeys_tb)
hotkey("ctrl+alt", hotkeys_trace_delete)
hotkey("ctrl+h", hotkeys_trace_delete)