Merge pull request #41743 from AutomaticFrenzy/patch/sigh

Fix math error in secret satchel spawning
This commit is contained in:
oranges
2018-12-03 00:12:22 +13:00
committed by yogstation13-bot
parent c0bffd5d5c
commit e59a044978

View File

@@ -67,7 +67,7 @@ SUBSYSTEM_DEF(persistence)
F.y = old_secret_satchels[pos]["y"]
F.z = SSmapping.station_start
path = text2path(old_secret_satchels[pos]["saved_obj"])
old_secret_satchels.Cut(pos, pos+1 % old_secret_satchels.len)
old_secret_satchels.Cut(pos, (pos+1) % old_secret_satchels.len)
if(F)
if(isfloorturf(F.loc) && !isplatingturf(F.loc))