cortex-command-community / Cortex-Command-Community-Project-Source

[ARCHIVED] Cortex Command - Open Source under GNU AGPL v3 (no game data included)
https://cortex-command-community.github.io/
GNU Affero General Public License v3.0
204 stars 42 forks source link

Getting the activity scene name prints nothing? #575

Closed Bebomonky closed 9 months ago

Bebomonky commented 9 months ago

Bug in question Using ActivityMan:GetActivity().SceneName returns a empty string

To Reproduce Slap print(ActivityMan:GetActivity().SceneName) in any type of script

Expected behavior image

Causeless commented 9 months ago

This is only used for the Metagame and probably shouldn't be used. Preferably I'd remove it entirely, but don't wanna deal with fixing up metagame.

Anyways just use Scene.PresetName and that should do the trick.