Skip to content

Emotes of Night city #18

@GoogleRa

Description

@GoogleRa

Bug in cyberscript\mod\modules\scripting.lua (function refreshModVariable):

setVariable("game_time","day",GetSingleton('GameTime'):Days(gameTime))
setVariable("game_time","hour",GetSingleton('GameTime'):Hours(gameTime))
setVariable("game_time","min",GetSingleton('GameTime'):Minutes(gameTime))
setVariable("game_time","sec",GetSingleton('GameTime'):Seconds(gameTime))

Needs to be changed to:

setVariable("game_time","day", currentTime.day)
setVariable("game_time","hour", currentTime.hour)
setVariable("game_time","min", currentTime.min)
setVariable("game_time","sec", currentTime.sec)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions