Paradise icon indicating copy to clipboard operation
Paradise copied to clipboard

Tables cannot start flipped despite appearing to be able to in /obj/structure/table/Initialize

Open warriorstar-orion opened this issue 7 months ago • 0 comments

Exploit Reports

  • [X] I confirm this issue is not an exploit. (Required)

BYOND Version

515.1641

Issue Description

/obj/structure/table/Initialize looks like this:

https://github.com/ParadiseSS13/Paradise/blob/e58601b914eeb21004143a715cabd748c7f15652/code/game/objects/structures/tables_racks.dm#L47-L50

But tables will not properly update their icons when varedited to be flipped and given a dir.

What did you expect to happen?

Varediting a table to give it a flip direction and toggle its flipped boolean to flip it during initialize.

What happened instead?

All of the code runs but something else somewhere resets its icon state.

Why is this bad/What are the consequences?

Mappers should be able to do this.

Steps to reproduce the issue.

Modify a table in SDMM to be flipped = 1 and dir = 4. Launch the game. Observe table isn't flipped.

When did the problem start happening?

Probably since flipping tables were introduced.

Extra information

No response

Relevant log output/runtime error

No response

warriorstar-orion avatar Jul 04 '24 17:07 warriorstar-orion