X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fcommandbutton.qh;fp=qcsrc%2Fmenu%2Fxonotic%2Fcommandbutton.qh;h=5de59ee07b9e6d3d6d80920422e807b260255dcd;hb=cf7d70cea2066703aad74fce5931e635471904f3;hp=072890ab1e23b60738f631fed68e61c8a8556169;hpb=af71335a8e418edc55126a63aa65afd9353f413c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/commandbutton.qh b/qcsrc/menu/xonotic/commandbutton.qh index 072890ab1e..5de59ee07b 100644 --- a/qcsrc/menu/xonotic/commandbutton.qh +++ b/qcsrc/menu/xonotic/commandbutton.qh @@ -3,8 +3,8 @@ #include "button.qh" CLASS(XonoticCommandButton, XonoticButton) METHOD(XonoticCommandButton, configureXonoticCommandButton, void(entity, string, vector, string, float, string)); - ATTRIB(XonoticCommandButton, onClickCommand, string, string_null) - ATTRIB(XonoticCommandButton, flags, float, 0) + ATTRIB(XonoticCommandButton, onClickCommand, string); + ATTRIB(XonoticCommandButton, flags, float, 0); ENDCLASS(XonoticCommandButton) entity makeXonoticCommandButton_T(string theText, vector theColor, string theCommand, float closesMenu, string theTooltip);