diff --git a/wadsrc/static/zscript/scriptutil/scriptutil.txt b/wadsrc/static/zscript/scriptutil/scriptutil.txt index 81bcb0330ad..b7fae43520c 100644 --- a/wadsrc/static/zscript/scriptutil/scriptutil.txt +++ b/wadsrc/static/zscript/scriptutil/scriptutil.txt @@ -259,7 +259,7 @@ class ScriptUtil play // //========================================================================== - int PlayerAmmo(Actor activator, class type, int newamount = int.min) + static int PlayerAmmo(Actor activator, class type, int newamount = int.min) { if (activator == null) return 0; let ammotype = (class)(type);