diff --git a/uppsrc/CtrlCore/CtrlCore.h b/uppsrc/CtrlCore/CtrlCore.h index 91bb0e703..12cd7b4d5 100644 --- a/uppsrc/CtrlCore/CtrlCore.h +++ b/uppsrc/CtrlCore/CtrlCore.h @@ -1141,6 +1141,7 @@ public: Callback operator<<=(Callback action) { WhenAction = action; return action; } Event<>& operator<<(Event<> action) { return WhenAction << action; } + Event<>& operator^=(Event<> action) { return WhenAction = action; } void SetTimeCallback(int delay_ms, Function cb, int id = 0); void KillTimeCallback(int id = 0);