Makes magnetic catch cleaner in game (#38956)

Utilizes the new signal refactor to cancel throws before they happen. This prevents the silly spin even though the throw was stopped.
This commit is contained in:
Emmett Gaines
2018-07-13 04:31:30 -04:00
committed by AnturK
parent 4c6f2fad26
commit 44da4cb683
4 changed files with 36 additions and 20 deletions
+1 -1
View File
@@ -94,7 +94,7 @@
RegisterSignal(parent, COMSIG_ITEM_ATTACK_SELF, .proc/attack_self)
RegisterSignal(parent, COMSIG_ITEM_PICKUP, .proc/signal_on_pickup)
RegisterSignal(parent, COMSIG_MOVABLE_THROW, .proc/close_all)
RegisterSignal(parent, COMSIG_MOVABLE_POST_THROW, .proc/close_all)
RegisterSignal(parent, COMSIG_CLICK_ALT, .proc/on_alt_click)
RegisterSignal(parent, COMSIG_MOUSEDROP_ONTO, .proc/mousedrop_onto)