[MIRROR] Initialize fixing (#10335)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-08 14:22:04 -07:00
committed by GitHub
parent 2e725a0727
commit ce2446922e
888 changed files with 2876 additions and 2225 deletions

View File

@@ -128,6 +128,12 @@ fi
if [ "$pcre2_support" -eq 1 ]; then
section "regexes requiring PCRE2"
part "improper atom initialize args"
if $grep -P '^/(obj|mob|turf|area|atom)/.+/Initialize\((?!mapload).*\)' $code_files; then
echo
echo -e "${RED}ERROR: Initialize override without 'mapload' argument.${NC}"
FAILED=1
fi;
part "tag"
#Checking for 'tag' set to something on maps
(! $grep -Pn '( |\t|;|{)tag( ?)=' $map_files)