1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Apply review suggestion from InfoTeddy

Co-authored-by: Misa Elizabeth Kai <infoteddy@infoteddy.info>
This commit is contained in:
Ally 2023-09-09 21:54:42 -03:00 committed by Misa Elizabeth Kai
parent bcc302bcc2
commit a72966426b

View file

@ -280,7 +280,8 @@ void scriptclass::run(void)
}
else if (words[1] == "warptokens")
{
for (size_t edi = 0; edi < obj.entities.size(); edi++) {
for (size_t edi = 0; edi < obj.entities.size(); edi++)
{
if (obj.entities[edi].type == 11)
{
obj.disableentity(edi);