mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Removes ++ and -- in conditionals (#71925)
This commit is contained in:
@@ -208,7 +208,8 @@ GLOBAL_PROTECT(LastAdminCalledProc)
|
||||
GLOB.AdminProcCaller = user_identifier //if this runtimes, too bad for you
|
||||
++GLOB.AdminProcCallCount
|
||||
. = world.WrapAdminProcCall(target, procname, arguments)
|
||||
if(--GLOB.AdminProcCallCount == 0)
|
||||
GLOB.AdminProcCallCount--
|
||||
if(GLOB.AdminProcCallCount == 0)
|
||||
GLOB.AdminProcCaller = null
|
||||
else
|
||||
. = world.WrapAdminProcCall(target, procname, arguments)
|
||||
|
||||
@@ -793,7 +793,8 @@
|
||||
var/iterable = 0
|
||||
for(var/datum/antagonist/role in subject.mind.antag_datums)
|
||||
special_role_description += "[role.name]"
|
||||
if(++iterable != length(subject.mind.antag_datums))
|
||||
iterable++
|
||||
if(iterable != length(subject.mind.antag_datums))
|
||||
special_role_description += ", "
|
||||
special_role_description += "</b></font>"
|
||||
else
|
||||
|
||||
@@ -785,7 +785,8 @@ GLOBAL_DATUM_INIT(sdql2_vv_statobj, /obj/effect/statclick/sdql2_vv_all, new(null
|
||||
if(v == "#null")
|
||||
SDQL_expression(d, set_list[sets])
|
||||
break
|
||||
if(++i == sets.len)
|
||||
i++
|
||||
if(i == sets.len)
|
||||
if(superuser)
|
||||
if(temp.vars.Find(v))
|
||||
temp.vars[v] = SDQL_expression(d, set_list[sets])
|
||||
|
||||
Reference in New Issue
Block a user