mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Initialize fixing (#10335)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2e725a0727
commit
ce2446922e
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user