mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-02 13:02:38 +00:00
Replaces "istype"s with is_helpers macros (#28676)
This commit is contained in:
@@ -44,7 +44,7 @@ GLOBAL_PROTECT(VVpixelmovement)
|
||||
else
|
||||
. = VV_TYPE
|
||||
|
||||
else if (istype(var_value,/list))
|
||||
else if (islist(var_value))
|
||||
. = VV_LIST
|
||||
|
||||
else if (isfile(var_value))
|
||||
@@ -528,7 +528,7 @@ GLOBAL_PROTECT(VVpixelmovement)
|
||||
variable = input("Which var?","Var") as null|anything in names
|
||||
if(!variable)
|
||||
return
|
||||
|
||||
|
||||
if(!O.can_vv_get(variable))
|
||||
return
|
||||
|
||||
@@ -594,7 +594,7 @@ GLOBAL_PROTECT(VVpixelmovement)
|
||||
|
||||
switch(class)
|
||||
if(VV_LIST)
|
||||
if(!istype(var_value,/list))
|
||||
if(!islist(var_value))
|
||||
mod_list(list(), O, original_name, variable)
|
||||
|
||||
mod_list(var_value, O, original_name, variable)
|
||||
|
||||
Reference in New Issue
Block a user